]> granicus.if.org Git - php/commitdiff
Unbreak imap by fixing the assignment
authorSascha Schumann <sas@php.net>
Mon, 19 Jun 2000 21:35:01 +0000 (21:35 +0000)
committerSascha Schumann <sas@php.net>
Mon, 19 Jun 2000 21:35:01 +0000 (21:35 +0000)
ext/imap/php_imap.c

index 7aff4ce5d4f8eff005a0367ea9852d99206dfb5a..59bb710201a973ed960b41fb0b82b8d47b6b10ed 100644 (file)
@@ -2960,7 +2960,7 @@ PHP_FUNCTION(imap_fetch_overview)
                                }
                                if (env->from) {
                                        env->from->next=NULL;
-                                       address = '\0';
+                                       address[0] = '\0';
                                        rfc822_write_address(address, env->from);
                                        add_property_string(myoverview, "from", address, 1);
                                }