Debian Codegraph @

debian/patches/06_handle-multibytes-headers

raw
1 Description: Patch which allows ffproxy to handle multibytes characters in headers
2 Author: Paul Merrill <[email protected]>
3 Bug-Debian: http://bugs.debian.org/661425
4 Last-Update: 2012-03-24
5 --- a/request.c
6 +++ b/request.c
7 @@ -221,7 +221,7 @@
8 {
9 char c;
10
11 - if (read(s, &c, 1) != 1 || c < 1)
12 + if (read(s, &c, 1) != 1 || c == 0)
13 return -1;
14 else
15 return c;