gentoo-overlay/www-client/dillo/files/dillo2-inbuf.patch

15 lines
313 B
Diff

--- a/src/form.cc
+++ b/src/form.cc
@@ -1240,8 +1240,9 @@
int rc = 0;
Dstr *output;
const int bufsize = 128;
- inbuf_t *inPtr;
- char *buffer, *outPtr;
+ //inbuf_t *inPtr;
+ //char *buffer, *outPtr;
+ char *buffer, *outPtr, *inPtr;
size_t inLeft, outRoom;
bool bad_chars = false;