Sfoglia il codice sorgente

modules/enum: updated to include new argument to append_branch()

Peter Dunkley 12 anni fa
parent
commit
08b7df7556
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      modules/enum/enum.c

+ 2 - 2
modules/enum/enum.c

@@ -687,7 +687,7 @@ int do_query(struct sip_msg* _msg, char *user, char *name, str *service) {
 		q = q - 10;
 		q = q - 10;
 		curr_prio = priority;
 		curr_prio = priority;
 	    }
 	    }
-	    if (append_branch(_msg, &result, 0, 0, q, 0, 0, 0, 0) == -1) {
+	    if (append_branch(_msg, &result, 0, 0, q, 0, 0, 0, 0, 0) == -1) {
 		goto done;
 		goto done;
 	    }
 	    }
 	}
 	}
@@ -1137,7 +1137,7 @@ int enum_pv_query_3(struct sip_msg* _msg, char* _sp, char* _suffix,
 				q = q - 10;
 				q = q - 10;
 				curr_prio = priority;
 				curr_prio = priority;
 			}
 			}
-			if (append_branch(_msg, &result, 0, 0, q, 0, 0, 0, 0)
+			if (append_branch(_msg, &result, 0, 0, q, 0, 0, 0, 0, 0)
 			    == -1) {
 			    == -1) {
 				goto done;
 				goto done;
 			}
 			}