diff options
author | Sascha Schumann <sas@php.net> | 1999-06-27 21:45:06 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-06-27 21:45:06 +0000 |
commit | e205a6749dae3092a454e5db8371abb4a819f0e0 (patch) | |
tree | 99bb899d9b9016619be1587c60441f29c6ac404f /ext/standard/base64.c | |
parent | d819da4897cdd19e420208cb26527f1c6b5d9955 (diff) | |
download | php-git-e205a6749dae3092a454e5db8371abb4a819f0e0.tar.gz |
more porting
Diffstat (limited to 'ext/standard/base64.c')
-rw-r--r-- | ext/standard/base64.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/standard/base64.c b/ext/standard/base64.c index 69bdb9d4fa..878b7244fc 100644 --- a/ext/standard/base64.c +++ b/ext/standard/base64.c @@ -92,10 +92,7 @@ unsigned char *_php3_base64_decode(const unsigned char *string, int length, int while ((ch = *current++) != '\0') { if (ch == base64_pad) break; ch = (int)strchr(base64_table, ch); - if (ch == 0) { - efree(result); - return NULL; - } + if (ch == 0) continue; ch -= (int)base64_table; switch(i % 4) { |