[Freeswitch-svn] [commit] r7248 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Wed Jan 16 10:06:34 EST 2008


Author: anthm
Date: Wed Jan 16 10:06:33 2008
New Revision: 7248

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c

Log:
return stale on invalid auth header

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	Wed Jan 16 10:06:33 2008
@@ -823,6 +823,7 @@
 
 	if (cnt != 8) {
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Authorization header!\n");
+		ret = AUTH_STALE;
 		goto end;
 	}
 	



More information about the Freeswitch-svn mailing list