CVS update: php3/functions
| From: | sas | Date: | Thu, 24 Jun 1999 17:06:40 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7535@lists.php.net to get a copy of this message | ||
Date: Thursday June 24, 1999 @ 13:06
Author: sas
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv20707/functions
Modified Files:
base64.c
Log Message:
#1596 - match RFC 2045 semantics
Index: php3/functions/base64.c
diff -u php3/functions/base64.c:1.29 php3/functions/base64.c:1.30
--- php3/functions/base64.c:1.29 Sat Feb 27 11:11:08 1999
+++ php3/functions/base64.c Thu Jun 24 13:06:40 1999
@@ -26,7 +26,7 @@
| Author: Jim Winstead (jimw@php.net) |
+----------------------------------------------------------------------+
*/
-/* $Id: base64.c,v 1.29 1999/02/27 16:11:08 sas Exp $ */
+/* $Id: base64.c,v 1.30 1999/06/24 17:06:40 sas Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
@@ -97,10 +97,7 @@
while ((ch = *current++) != '\0') {
if (ch == base64_pad) break;
chp = strchr(base64_table, ch);
- if (chp == NULL) {
- efree(result);
- return NULL;
- }
+ if (chp == NULL) continue;
ch = chp - base64_table;
switch(i % 4) {