diff options
Diffstat (limited to 'src/script/lua_api/l_http.h')
-rw-r--r-- | src/script/lua_api/l_http.h | 6 |
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); |