cvs: php4 /main rfc1867.c

From: Date: Mon, 16 Jul 2001 20:43:18 +0000
Subject: cvs: php4 /main rfc1867.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-6246@lists.php.net to get a copy of this message
zeev Mon Jul 16 16:43:18 2001 EDT Modified files: /php4/main rfc1867.c Log: Another layout fix Index: php4/main/rfc1867.c diff -u php4/main/rfc1867.c:1.66 php4/main/rfc1867.c:1.67 --- php4/main/rfc1867.c:1.66 Mon Jul 16 16:42:49 2001 +++ php4/main/rfc1867.c Mon Jul 16 16:43:18 2001 @@ -15,7 +15,7 @@ | Authors: Rasmus Lerdorf <rasmus@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: rfc1867.c,v 1.66 2001/07/16 20:42:49 zeev Exp $ */ +/* $Id: rfc1867.c,v 1.67 2001/07/16 20:43:18 zeev Exp $ */ #include <stdio.h> #include "php.h" @@ -164,9 +164,10 @@ } /* some other headerfield found, skip it */ loc = (char *) memchr(ptr, '\n', rem)+1; - while (*loc == ' ' || *loc == '\t') + while (*loc == ' ' || *loc == '\t') { /* other field is folded, skip it */ - loc = (char *) memchr(loc, '\n', rem-(loc-ptr))+1; + loc = (char *) memchr(loc, '\n', rem-(loc-ptr))+1; + } rem -= (loc - ptr); ptr = loc; }

« previous php.cvs (#6246) next »