Commit 34270fb5 authored by Tiago Medicci's avatar Tiago Medicci

Fixed ESP_LOGD comment withou ;

parent a77d3bb3
...@@ -874,10 +874,10 @@ static void http_handle_connection(http_server_t server, void *arg_conn) ...@@ -874,10 +874,10 @@ static void http_handle_connection(http_server_t server, void *arg_conn)
if (err == ERR_OK) { if (err == ERR_OK) {
ctx->state = HTTP_COLLECTING_RESPONSE_HEADERS; ctx->state = HTTP_COLLECTING_RESPONSE_HEADERS;
if (ctx->handler == NULL) { if (ctx->handler == NULL) {
ESP_LOGD(TAG, "No registered Handler!") ESP_LOGD(TAG, "No registered Handler!");
http_send_not_found_response(ctx); http_send_not_found_response(ctx);
} else { } else {
ESP_LOGD(TAG, "Registered Handler Found!") ESP_LOGD(TAG, "Registered Handler Found!");
invoke_handler(ctx, HTTP_HANDLE_RESPONSE); invoke_handler(ctx, HTTP_HANDLE_RESPONSE);
} }
} }
......
...@@ -44,7 +44,7 @@ extern "C" { ...@@ -44,7 +44,7 @@ extern "C" {
#define ERROR_BUF_LENGTH 100 #define ERROR_BUF_LENGTH 100
/** Uncomment to enable secure server */ /** Uncomment to enable secure server */
#define HTTPS_SERVER //#define HTTPS_SERVER
/** Opaque type representing single HTTP connection */ /** Opaque type representing single HTTP connection */
typedef struct http_context_* http_context_t; typedef struct http_context_* http_context_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment