Explorar el Código

Minor tweak to Stefano's code.

grunfink hace 9 meses
padre
commit
1ac922796b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      xs_httpd.h

+ 1 - 1
xs_httpd.h

@@ -109,7 +109,7 @@ xs_dict *xs_httpd_request(FILE *f, xs_str **payload, int *p_size)
             body = xs_append_m(body, chunk, chunk_size);
 
             /* read trailing \r\n after chunk data */
-            xs_readline(f);
+            xs *dummy = xs_readline(f);
         }
 
         *p_size = xs_size(body) - 1; /* subtract trailing null */