Kaynağa Gözat

Minor tweak to Stefano's code.

grunfink 9 ay önce
ebeveyn
işleme
1ac922796b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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 */