Browse code

corrected bug reported by Bogdan Pintea and aplied his patch (closes SER-118)

Vaclav Kubart authored on 06/11/2006 08:44:39
Showing 2 changed files
... ...
@@ -1,3 +1,6 @@
1
+2006-11-06
2
+	* bug correction - output of get_pres_rules initialized - reported by Bogdan
3
+
1 4
 2006-09-01
2 5
 	* corrected memory leaks in route serialization
3 6
 	* str_dup separated to macro and implementation function -> better for
... ...
@@ -41,6 +41,8 @@ int get_pres_rules(const str_t *username, const str_t *filename,
41 41
 	char *uri = NULL;
42 42
 	int res = RES_OK;
43 43
 	
44
+	if (dst) *dst = NULL;
45
+
44 46
 	uri = xcap_uri_for_users_document(xcap_doc_pres_rules,
45 47
 				username, filename, xcap_params);
46 48
 	if (!uri) {