summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/icap/php3_icap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/icap/php3_icap.c b/ext/icap/php3_icap.c
index 152d7d74df..8591e7f4af 100644
--- a/ext/icap/php3_icap.c
+++ b/ext/icap/php3_icap.c
@@ -519,7 +519,6 @@ void php3_icap_list_alarms(INTERNAL_FUNCTION_PARAMETERS)
pils *icap_le_struct;
int icap_folders=0;
unsigned int msgno;
- pils *icap_le_struct;
cal_list_t *my_cal_list;
caldate_t begincal,endcal;
@@ -737,7 +736,7 @@ void php3_icap_store_event(INTERNAL_FUNCTION_PARAMETERS)
}
if(_php3_hash_find(storeobject->value.ht,"category",sizeof("category"),(void **) &pvalue)== SUCCESS){
SEPARATE_ZVAL(pvalue);
- convert_to_string(pvalue);
+ convert_to_string(*pvalue);
myevent.category=strdup((*pvalue)->value.str.val);
}
if(_php3_hash_find(storeobject->value.ht,"title",sizeof("title"),(void **) &pvalue)== SUCCESS){