1 diff -Nru mathopd-1.5p6.orig/src/request.c mathopd-1.5p6/src/request.c
2 --- mathopd-1.5p6.orig/src/request.c 2009-08-24 16:32:23.822054573 +0200
3 +++ mathopd-1.5p6/src/request.c 2009-08-24 16:34:53.672062355 +0200
4 @@ -210,7 +210,7 @@
5 return buf;
6 }
7
8 -static char *getline(struct pool *p, int fold)
9 +static char *get_line(struct pool *p, int fold)
10 {
11 char *s, *olds, *sp, *end;
12 int f;
13 @@ -247,7 +247,7 @@
14 break;
15 }
16 }
17 - log_d("getline: fallen off the end");
18 + log_d("get_line: fallen off the end");
19 return 0;
20 }
21
22 @@ -1172,7 +1172,7 @@
23 unsigned long cl;
24
25 do {
26 - l = getline(&r->cn->header_input, 0);
27 + l = get_line(&r->cn->header_input, 0);
28 if (l == 0)
29 return -1;
30 } while (*l == 0);
31 @@ -1201,7 +1201,7 @@
32 if (r->protocol_major && r->protocol_minor)
33 r->cn->keepalive = 1;
34 n = 0;
35 - while ((l = getline(&r->cn->header_input, 1)) != 0) {
36 + while ((l = get_line(&r->cn->header_input, 1)) != 0) {
37 s = strchr(l, ':');
38 if (s == 0)
39 continue;
|