cvs: /php3/functions php3_icap.c

From: Date: Mon, 02 Aug 1999 21:54:35 +0000
Subject: cvs: /php3/functions php3_icap.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-9462@lists.php.net to get a copy of this message
musone Mon Aug 2 17:54:35 1999 EDT Modified files: /php3/functions php3_icap.c Log: Whoops....silly bus errors Index: php3/functions/php3_icap.c diff -u php3/functions/php3_icap.c:1.1 php3/functions/php3_icap.c:1.2 --- php3/functions/php3_icap.c:1.1 Mon Aug 2 13:48:26 1999 +++ php3/functions/php3_icap.c Mon Aug 2 17:54:35 1999 @@ -684,17 +684,18 @@ } if(_php3_hash_find(storeobject->value.ht,"category",sizeof("category"),(void **) &pvalue)== SUCCESS){ convert_to_string(pvalue); - myevent.category=pvalue->value.str.val; + myevent.category=strdup(value->value.str.val); } if(_php3_hash_find(storeobject->value.ht,"title",sizeof("title"),(void **) &pvalue)== SUCCESS){ convert_to_string(pvalue); - myevent.title=pvalue->value.str.val; + myevent.title=strdup(pvalue->value.str.val); } if(_php3_hash_find(storeobject->value.ht,"description",sizeof("description"),(void **) &pvalue)== SUCCESS){ convert_to_string(pvalue); - myevent.description=pvalue->value.str.val; + myevent.description=strdup(pvalue->value.str.val); } cal_append(icap_le_struct->icap_stream,"INBOX",&myevent); + event_destroy(&myevent); RETURN_LONG(guid); } /* }}} */

« previous php.dev (#9462) next »