Sfoglia il codice sorgente

corrected bug - library was uncompilable

Vaclav Kubart 19 anni fa
parent
commit
aec3e4f1c4
2 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 3 0
      lib/xcap/ChangeLog
  2. 1 1
      lib/xcap/parse_pres_rules.c

+ 3 - 0
lib/xcap/ChangeLog

@@ -1,3 +1,6 @@
+2006-03-30
+	* corrected bug (library couldn't be compiled)
+
 2006-03-29
 2006-03-29
 	* added message authorization functions
 	* added message authorization functions
 
 

+ 1 - 1
lib/xcap/parse_pres_rules.c

@@ -71,7 +71,7 @@ static int read_pres_actions(xmlNode *an, cp_actions_t **dst)
 	if (!(*dst)) return RES_MEMORY_ERR;
 	if (!(*dst)) return RES_MEMORY_ERR;
 	memset(*dst, 0, sizeof(cp_actions_t));
 	memset(*dst, 0, sizeof(cp_actions_t));
 
 
-	n = find_node(an, "sub-handling", common_policy_ns);
+	n = find_node(an, "sub-handling", pres_rules_ns);
 	if (n) {
 	if (n) {
 		/* may be only one sub-handling node? */
 		/* may be only one sub-handling node? */
 		s = get_node_value(n);
 		s = get_node_value(n);