CVS update: php3/functions

From: Date: Fri, 18 Sep 1998 16:55:11 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-1238@lists.php.net to get a copy of this message
Date: Friday September 18, 1998 @ 12:55 Author: rasmus Update of /repository/php3/functions In directory asf:/u2/tmp/cvs-serv14325/functions Modified Files: imap.c string.c Log Message: Static snmp module Index: php3/functions/imap.c diff -c php3/functions/imap.c:1.40 php3/functions/imap.c:1.41 *** php3/functions/imap.c:1.40 Thu Sep 17 11:32:05 1998 --- php3/functions/imap.c Fri Sep 18 12:55:09 1998 *************** *** 31,37 **** | Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ ! /* $Id: imap.c,v 1.40 1998/09/17 15:32:05 musone Exp $ */ #define IMAP41 --- 31,37 ---- | Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ ! /* $Id: imap.c,v 1.41 1998/09/18 16:55:09 rasmus Exp $ */ #define IMAP41 *************** *** 1806,1812 **** if(addresstmp->personal) add_property_string(&tovals,"personal",addresstmp->personal,1); if(addresstmp->adl) add_property_string(&tovals,"adl",addresstmp->adl,1); add_next_index_object(return_value, tovals); ! } while (addresstmp = addresstmp->next); } --- 1806,1812 ---- if(addresstmp->personal) add_property_string(&tovals,"personal",addresstmp->personal,1); if(addresstmp->adl) add_property_string(&tovals,"adl",addresstmp->adl,1); add_next_index_object(return_value, tovals); ! } while ((addresstmp = addresstmp->next)); } Index: php3/functions/string.c diff -c php3/functions/string.c:1.139 php3/functions/string.c:1.140 *** php3/functions/string.c:1.139 Thu Sep 10 19:57:22 1998 --- php3/functions/string.c Fri Sep 18 12:55:10 1998 *************** *** 30,36 **** */ ! /* $Id: string.c,v 1.139 1998/09/10 23:57:22 zeev Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif --- 30,36 ---- */ ! /* $Id: string.c,v 1.140 1998/09/18 16:55:10 rasmus Exp $ */ #ifdef THREAD_SAFE #include "tls.h" #endif *************** *** 518,524 **** convert_to_string(haystack); if (needle->type == IS_STRING) { ! if (strlen(needle->value.str.val)==0) { php3_error(E_WARNING,"Empty delimiter"); RETURN_FALSE; } --- 518,524 ---- convert_to_string(haystack); if (needle->type == IS_STRING) { ! if (needle->value.str.len==0) { php3_error(E_WARNING,"Empty delimiter"); RETURN_FALSE; } -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1238) next »