Explorar o código

auth: enhanced log message when method param fails to be retrieved

Daniel-Constantin Mierla %!s(int64=11) %!d(string=hai) anos
pai
achega
35329870fe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/auth/auth_mod.c

+ 1 - 1
modules/auth/auth_mod.c

@@ -687,7 +687,7 @@ static int pv_www_authenticate2(struct sip_msg *msg, char* realm,
 	}
 
 	if (get_str_fparam(&smethod, msg, (fparam_t*)method) < 0) {
-		LM_ERR("failed to get method value\n");
+		LM_ERR("failed to get method value from msg %p var %p\n", msg, method);
 		goto error;
 	}