Re: cvs: php4 /ext/imap php_imap.c
| From: | Sascha Schumann | Date: | Mon, 19 Jun 2000 11:26:11 +0000 |
| Subject: | Re: cvs: php4 /ext/imap php_imap.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-371@lists.php.net to get a copy of this message | ||
On Mon, 19 Jun 2000, Andi Gutmans wrote:
> andi Sun Jun 18 21:33:40 2000 EDT
>
> Modified files:
> /php4/ext/imap php_imap.c
> Log:
> - Fixed problem in imap_fetch_overview
...
> @@ -2960,6 +2960,7 @@
> }
> if (env->from) {
> env->from->next=NULL;
> + address = '\0';
The variable address is of type char *, you cannot assign it a char.
> @@ -3529,7 +3530,7 @@
> while (ok && addresstmp) { /* while length <
> 1000 and we are not at the end of the list */
> addresstmp2 = addresstmp->next; /* save the pointer to the next
> address */
> addresstmp->next = NULL; /* make this address the only
> one now. */
> - tempaddress[0] = 0x00; /* reset tempaddress buffer */
> + tempaddress[0] = '\0'; /* reset tempaddress
> buffer */
Same for tempaddress.
- Sascha