]> git.pld-linux.org Git - packages/mathopd.git/blame - mathopd-getline.patch
Release 6 (by relup.sh)
[packages/mathopd.git] / mathopd-getline.patch
CommitLineData
d2b8e099
BZ
1--- mathopd-1.5p3/src/request.c.orig 2009-08-28 16:21:31.000000000 +0200
2+++ mathopd-1.5p3/src/request.c 2009-08-28 16:22:54.000000000 +0200
3@@ -209,7 +209,7 @@
4 return buf;
5 }
6
7-static char *getline(struct pool *p, int fold)
8+static char *_getline(struct pool *p, int fold)
9 {
10 char *s, *olds, *sp, *end;
11 int f;
12@@ -1090,7 +1090,7 @@
13 unsigned long cl;
14
15 do {
16- l = getline(&r->cn->header_input, 0);
17+ l = _getline(&r->cn->header_input, 0);
18 if (l == 0)
19 return -1;
20 } while (*l == 0);
21@@ -1119,7 +1119,7 @@
22 if (r->protocol_major && r->protocol_minor)
23 r->cn->keepalive = 1;
24 n = 0;
25- while ((l = getline(&r->cn->header_input, 1)) != 0) {
26+ while ((l = _getline(&r->cn->header_input, 1)) != 0) {
27 s = strchr(l, ':');
28 if (s == 0)
29 continue;
This page took 0.059906 seconds and 4 git commands to generate.