You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2001/03/02 20:46:23 UTC
cvs commit: httpd-2.0/server rfc1413.c
trawick 01/03/02 11:46:19
Modified: server rfc1413.c
Log:
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
Revision Changes Path
1.39 +1 -1 httpd-2.0/server/rfc1413.c
Index: rfc1413.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/rfc1413.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- rfc1413.c 2001/02/16 04:26:47 1.38
+++ rfc1413.c 2001/03/02 19:46:08 1.39
@@ -206,7 +206,7 @@
/* 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);