From: oharboe at B. <oh...@ma...> - 2009-08-21 08:22:02
|
Author: oharboe Date: 2009-08-21 08:22:01 +0200 (Fri, 21 Aug 2009) New Revision: 2601 Modified: trunk/src/server/httpd.c Log: Florian Boor <flo...@ke...> fixes a segfault executing commands from the web interface using the "Run Command" tab. Modified: trunk/src/server/httpd.c =================================================================== --- trunk/src/server/httpd.c 2009-08-20 08:55:34 UTC (rev 2600) +++ trunk/src/server/httpd.c 2009-08-21 06:22:01 UTC (rev 2601) @@ -223,7 +223,7 @@ /* append data to each key */ static int iterate_post(void *con_cls, enum MHD_ValueKind kind, const char *key, const char *filename, const char *content_type, - const char *transfer_encoding, const char *data, uint64_t off, + const char *transfer_encoding, const char *data, size_t off, size_t size) { struct httpd_request *r = (struct httpd_request*) con_cls; |