Index: trunk/debs/squid/redirector.c |
— | — | @@ -46,13 +46,11 @@ |
47 | 47 | pcre *re; |
48 | 48 | const char *error; |
49 | 49 | char *pattern; |
50 | | - unsigned char *name_table; |
51 | 50 | int erroffset; |
52 | 51 | int ovector[OVECCOUNT]; |
53 | 52 | int subject_length; |
54 | 53 | int rc, i; |
55 | 54 | char buff[MAX_BUFF]; |
56 | | - setbuf(stdout, NULL); |
57 | 55 | |
58 | 56 | struct IN_BUFF in_buff; |
59 | 57 | pattern = "^http:\\/\\/(\\w+)\\.wikipedia\\.org[:\\d]*\\/(.*)"; |
— | — | @@ -68,6 +66,7 @@ |
69 | 67 | |
70 | 68 | /* make standard output line buffered */ |
71 | 69 | //setvbuf(stdout, NULL, _IOLBF, 0); |
| 70 | + setbuf(stdout, NULL); |
72 | 71 | |
73 | 72 | re = pcre_compile( |
74 | 73 | pattern, /* the pattern */ |