Remove uneeded debug string.
[bertos.git] / bertos / net / http.c
index 9098da51dbeb87f4bc5af2c80e112e4dea25972d..15b4b13d6b9ceeefc0235a0282aca7aaa18f343d 100644 (file)
@@ -250,8 +250,8 @@ int http_searchContentType(const char *name)
 
 
 /**
- * Send on \param client socket
- * the 200 Ok http header
+ * Send on \param client socket the 200 Ok http header with
+ * select \param content_type
  */
 void http_sendOk(struct netconn *client, int content_type)
 {
@@ -264,8 +264,8 @@ void http_sendOk(struct netconn *client, int content_type)
 
 
 /**
- * Send on \param client socket
- * the 404 File not found http header
+ * Send on \param client socket the 404 File not found http header with
+ * select \param content_type
  */
 void http_sendFileNotFound(struct netconn *client, int content_type)
 {
@@ -277,8 +277,8 @@ void http_sendFileNotFound(struct netconn *client, int content_type)
 }
 
 /**
- * Send on \param client socket
- * the 500 internal server error http header
+ * Send on \param client socket the 500 internal server error http header with
+ * select \param content_type
  */
 void http_sendInternalErr(struct netconn *client, int content_type)
 {
@@ -304,7 +304,7 @@ static http_handler_t cgi_search(const char *name,  HttpCGI *table)
 
                        if (!strcmp(table[i].name, ext))
                        {
-                               LOG_INFO("Match all ext %s\n", ext);
+                               LOG_INFO("Match ext: %s\n", ext);
                                break;
                        }
                }
@@ -313,7 +313,7 @@ static http_handler_t cgi_search(const char *name,  HttpCGI *table)
 
                        if (strstr(name, table[i].name) != NULL)
                        {
-                               LOG_INFO("Match all name %s\n", name);
+                               LOG_INFO("Match string: %s\n", name);
                                break;
                        }
                }
@@ -322,7 +322,7 @@ static http_handler_t cgi_search(const char *name,  HttpCGI *table)
 
                        if (!strcmp(table[i].name, name))
                        {
-                               LOG_INFO("Match all word %s\n", name);
+                               LOG_INFO("Word match: %s\n", name);
                                break;
                        }
                }
@@ -361,7 +361,6 @@ void http_poll(struct netconn *server)
                        memset(req_string, 0, sizeof(req_string));
                        http_getPageName(rx_buf, len, req_string, sizeof(req_string));
 
-                       LOG_INFO("Search %s\n", req_string);
                        if (req_string[0] == '\0')
                                strcpy(req_string, HTTP_DEFAULT_PAGE);