diff options
Diffstat (limited to 'xmrstak/http/httpd.cpp')
-rw-r--r-- | xmrstak/http/httpd.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xmrstak/http/httpd.cpp b/xmrstak/http/httpd.cpp index 8debfa7..81012fa 100644 --- a/xmrstak/http/httpd.cpp +++ b/xmrstak/http/httpd.cpp @@ -49,13 +49,13 @@ httpd::httpd() } int httpd::req_handler(void * cls, - MHD_Connection* connection, - const char* url, - const char* method, - const char* version, - const char* upload_data, - size_t* upload_data_size, - void ** ptr) + MHD_Connection* connection, + const char* url, + const char* method, + const char* version, + const char* upload_data, + size_t* upload_data_size, + void ** ptr) { struct MHD_Response * rsp; @@ -86,7 +86,7 @@ int httpd::req_handler(void * cls, return ret; } } - + *ptr = nullptr; std::string str; if(strcasecmp(url, "/style.css") == 0) |