Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv14347/channels
Modified Files:
chan_sip.c
Log Message:
remove extraneous manual string termination
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.724
retrieving revision 1.725
diff -u -d -r1.724 -r1.725
--- chan_sip.c 4 May 2005 00:14:58 -0000 1.724
+++ chan_sip.c 4 May 2005 14:03:47 -0000 1.725
@@ -10384,7 +10384,6 @@
ast_copy_string(default_context, v->value,
sizeof(default_context));
} else if (!strcasecmp(v->name, "realm")) {
ast_copy_string(global_realm, v->value,
sizeof(global_realm));
- global_realm[sizeof(global_realm)-1] = '\0';
} else if (!strcasecmp(v->name, "useragent")) {
ast_copy_string(default_useragent, v->value,
sizeof(default_useragent));
ast_log(LOG_DEBUG, "Setting User Agent Name to %s\n",
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs