httpinfo: decrease pud nodeId buffer size
authorFerry Huberts <ferry.huberts@pelagic.nl>
Sat, 14 Jul 2012 09:42:38 +0000 (11:42 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Sat, 14 Jul 2012 09:47:42 +0000 (11:47 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/httpinfo/src/olsrd_httpinfo.c

index c7e59a8..bfbc477 100644 (file)
@@ -1180,7 +1180,7 @@ static const char * NA_STRING = "N.A.";
 static void build_pud_body(struct autobuf *abuf) {
        TransmitGpsInformation * txGpsInfo = olsr_cnf->pud_position;
        char * nodeId;
-       char nodeIdString[1024];
+       char nodeIdString[256];
 
        abuf_puts(abuf, "<h2>Position</h2>");