Browse code

- right debug messages in check_param()

Daniel-Constantin Mierla authored on 20/08/2003 20:47:53
Showing 1 changed files
... ...
@@ -121,12 +121,12 @@ static inline int check_params(str* method, str* to, str* from, dlg_t** dialog)
121 121
 	}
122 122
 
123 123
 	if (!to->s || !to->len) {
124
-		LOG(L_ERR, "check_params(): Invalid request method\n");
124
+		LOG(L_ERR, "check_params(): Invalid To URI\n");
125 125
 		return -4;
126 126
 	}
127 127
 
128 128
 	if (!from->s || !from->len) {
129
-		LOG(L_ERR, "check_params(): Invalid request method\n");
129
+		LOG(L_ERR, "check_params(): Invalid From URI\n");
130 130
 		return -5;
131 131
 	}
132 132
 	return 0;