From: Jeff Trawick Date: Fri, 2 Mar 2001 19:46:08 +0000 (+0000) Subject: in rfc1413_query(): X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0f3979a17aae94d1b5c886636550e9157c6ad96;p=apache in rfc1413_query(): use the buflen variable even on ASCII machines to get rid of a warning from the SGI compiler as well as to make it go a wee bit faster PR: 6980 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88425 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/rfc1413.c b/server/rfc1413.c index a7983f694b..a32d46eb1a 100644 --- a/server/rfc1413.c +++ b/server/rfc1413.c @@ -206,7 +206,7 @@ static apr_status_t rfc1413_query(apr_socket_t *sock, conn_rec *conn, /* send query to server. Handle short write. */ i = 0; - while (i < strlen(buffer)) { + while (i < buflen) { apr_size_t j = strlen(buffer + i); apr_status_t status; status = apr_send(sock, buffer+i, &j);