From: Stefan Fritsch Date: Sun, 18 Oct 2009 21:34:47 +0000 (+0000) Subject: Actually use the whole buffer for reading. X-Git-Tag: 2.3.3~151 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5debe7ffdd447dea9ce6167bb41fc626f0d63318;p=thirdparty%2Fapache%2Fhttpd.git Actually use the whole buffer for reading. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@826528 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/htdigest.c b/support/htdigest.c index d117b7aaec4..b92d2eb4e9c 100644 --- a/support/htdigest.c +++ b/support/htdigest.c @@ -255,7 +255,7 @@ int main(int argc, const char * const argv[]) apr_cpystrn(realm, argv[2], sizeof(realm)); found = 0; - while (!(get_line(line, MAX_STRING_LEN, f))) { + while (!(get_line(line, sizeof(line), f))) { if (found || (line[0] == '#') || (!line[0])) { putline(tfp, line); continue;