Browse code

exec: debug message with number of results for exec_avp()

Daniel-Constantin Mierla authored on 07/06/2019 07:55:04
Showing 1 changed files
... ...
@@ -282,8 +282,11 @@ int exec_avp(struct sip_msg *msg, char *cmd, pvname_list_p avpl)
282 282
 
283 283
 		i++;
284 284
 	}
285
-	if(i == 0)
285
+	if(i == 0) {
286 286
 		LM_DBG("no result from %s\n", cmd);
287
+	} else {
288
+		LM_DBG("%d results from %s\n", i, cmd);
289
+	}
287 290
 	/* success */
288 291
 	ret = 1;
289 292