Declaration fix
authorZeev Suraski <zeev@php.net>
Sat, 31 Jul 1999 10:38:33 +0000 (10:38 +0000)
committerZeev Suraski <zeev@php.net>
Sat, 31 Jul 1999 10:38:33 +0000 (10:38 +0000)
ext/imap/imap.c

index d4dc308c0379a6b7ea602ecd25953447eb9021ef..d2a9f15de6b953e6f0ae54d37c677429f137e98f 100644 (file)
@@ -180,7 +180,7 @@ MAILSTREAM *mail_close_it (pils *imap_le_struct)
        return ret;
 }
 
-inline int add_assoc_object(pval *arg, char *key, pval tmp)
+inline int add_assoc_object(pval *arg, char *key, pval *tmp)
 {
        return _php3_hash_update(arg->value.ht, key, strlen(key)+1, (void *) &tmp, sizeof(pval *), NULL);
 }