]> git.sur5r.net Git - openocd/commitdiff
Florian Boor <florian.boor@kernelconcepts.de> fixes a segfault executing commands...
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 21 Aug 2009 06:22:01 +0000 (06:22 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 21 Aug 2009 06:22:01 +0000 (06:22 +0000)
"Run Command" tab.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2601 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/server/httpd.c

index 6733502df09930fa3b902fd60cb2c5f1644cc4f2..37c16b93b3be551d3b0efd62134d2c820ae7a0d8 100644 (file)
@@ -223,7 +223,7 @@ static void append_key(struct httpd_request *r, const char *key,
 /* 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;