diff options
Diffstat (limited to 'src/net.c')
-rw-r--r-- | src/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -103,7 +103,7 @@ handle_connection (FILE *in, FILE *out) char *p; struct passwd *pw; - if (getline (&buf, &buflen, in) <= 0) + if (grecs_getline (&buf, &buflen, in) <= 0) return; trim_crlf (buf); if (debug_level) @@ -125,7 +125,7 @@ handle_connection (FILE *in, FILE *out) else fprintf (out, "+ OK, spool %s\r\n", spool->tag); - if (getline (&buf, &buflen, in) < 0) + if (grecs_getline (&buf, &buflen, in) < 0) { logmsg (LOG_ERR, "protocol error"); free (buf); |