Fix find name function. Pass as argument to cgi callback the rx buffer len.
[bertos.git] / bertos / net / http.h
index 6b5b3bc1721c81654ebdf145c65cc4a73ceb2d76..e280bbaa546b6fd3f5c68bed7dbb0f30ea6915ce 100644 (file)
@@ -52,7 +52,7 @@
 #include <lwip/tcpip.h>
 #include <lwip/dhcp.h>
 
-typedef int (*http_gci_handler_t)(char *revc_buf, struct netconn *client);
+typedef int (*http_gci_handler_t)(struct netconn *client, char *revc_buf, size_t revc_len);
 
 typedef struct HttpCGI
 {