diff --git a/mathopd/src/request.c b/mathopd/src/request.c index fc4b62d..04d36df 100644 --- a/mathopd/src/request.c +++ b/mathopd/src/request.c @@ -210,7 +210,7 @@ char *rfctime(time_t t, char *buf) return buf; } -static char *getline(struct pool *p, int fold) +static char *get_line(struct pool *p, int fold) { char *s, *olds, *sp, *end; int f; @@ -247,7 +247,7 @@ static char *getline(struct pool *p, int fold) break; } } - log_d("getline: fallen off the end"); + log_d("get_line: fallen off the end"); return 0; } @@ -1172,7 +1172,7 @@ static int process_headers(struct request *r) unsigned long cl; do { - l = getline(&r->cn->header_input, 0); + l = get_line(&r->cn->header_input, 0); if (l == 0) return -1; } while (*l == 0); @@ -1201,7 +1201,7 @@ static int process_headers(struct request *r) if (r->protocol_major && r->protocol_minor) r->cn->keepalive = 1; n = 0; - while ((l = getline(&r->cn->header_input, 1)) != 0) { + while ((l = get_line(&r->cn->header_input, 1)) != 0) { s = strchr(l, ':'); if (s == 0) continue;