@@ -1,3 +1,6 @@
+2006-06-21
+ * corrected bug in get_expiration_value (result was always -1/1)
+
2006-06-13
* added few common SIP/SER functions into sip_utils.h
* added functions for traversing hash table
@@ -18,6 +18,7 @@ int get_expiration_value(struct sip_msg *m, int *value)
return -1;
}
+ res = 0;
expires = (exp_body_t *)m->expires->parsed;
if (expires) if (expires->valid && value) *value = expires->val;