Revision
15270
Author
anthm
Date
2009-10-29 09:33:48 -0500 (Thu, 29 Oct 2009)

Log Message

remove unused code

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c (15269 => 15270)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	2009-10-29 14:19:50 UTC (rev 15269)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	2009-10-29 14:33:48 UTC (rev 15270)
@@ -1937,6 +1937,7 @@
 
 		ret = AUTH_FORBIDDEN;
 	}
+
 	switch_safe_free(input2);
 
   skip_auth:
@@ -2082,8 +2083,6 @@
 		char *sql;
 
 		x = get_nc(nc, sip);
-		input2 = switch_mprintf("%s:%s:%s:%s:%s:%s", a1_hash, nonce, nc, cnonce, qop, uridigest);
-
 		sql = switch_mprintf("update sip_authentication set expires='%ld',last_nc=%lu where nonce='%s'", 
 							 switch_epoch_time_now(NULL) + (profile->nonce_ttl ? profile->nonce_ttl : exptime + 10), x, nonce);
 
@@ -2099,7 +2098,6 @@
 	}
 
 	switch_safe_free(input);
-	switch_safe_free(input2);
 	switch_safe_free(username);
 	switch_safe_free(realm);
 	switch_safe_free(nonce);