aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_http.h
diff options
context:
space:
mode:
authorElias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com>2020-11-04 16:57:47 +0100
committerGitHub <noreply@github.com>2020-11-04 16:57:47 +0100
commit3e16c3a78fff61c20e63ba730d15e94e3bb877b4 (patch)
treec070350db219f2c4241d22bc31949685c7b42fe9 /src/script/lua_api/l_http.h
parent5d9ae5a91c544fc7fbd475decf47cef7e09ef8fc (diff)
parent6ccb5835ff55d85156be91473c598eca9d6cb9a6 (diff)
downloaddragonfireclient-3e16c3a78fff61c20e63ba730d15e94e3bb877b4.tar.xz
Merge branch 'master' into master
Diffstat (limited to 'src/script/lua_api/l_http.h')
-rw-r--r--src/script/lua_api/l_http.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/script/lua_api/l_http.h b/src/script/lua_api/l_http.h
index f2c72eafb..de6e51b37 100644
--- a/src/script/lua_api/l_http.h
+++ b/src/script/lua_api/l_http.h
@@ -25,14 +25,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
struct HTTPFetchRequest;
struct HTTPFetchResult;
-class ModApiHttp : public ModApiBase
-{
+class ModApiHttp : public ModApiBase {
private:
#if USE_CURL
// Helpers for HTTP fetch functions
static void read_http_fetch_request(lua_State *L, HTTPFetchRequest &req);
- static void push_http_fetch_result(
- lua_State *L, HTTPFetchResult &res, bool completed = true);
+ static void push_http_fetch_result(lua_State *L, HTTPFetchResult &res, bool completed = true);
// http_fetch_sync({url=, timeout=, post_data=})
static int l_http_fetch_sync(lua_State *L);