info: fix an assert
authorFerry Huberts <ferry.huberts@pelagic.nl>
Sun, 1 May 2016 18:39:45 +0000 (20:39 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Sun, 1 May 2016 18:46:20 +0000 (20:46 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/olsrd_info.c

index a53e3fb..b64744c 100644 (file)
@@ -438,7 +438,7 @@ static void send_info(const char * req, unsigned int send_what, int the_socket,
   int contentLengthIndex = 0;
   int headerLength = 0;
 
-  assert(outbuffer.count < MAX_CLIENTS);
+  assert(outbuffer.count <= MAX_CLIENTS);
 
   abuf_init(&abuf, AUTOBUFCHUNK);