remove extraneous manual string termination
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 4 May 2005 14:03:47 +0000 (14:03 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 4 May 2005 14:03:47 +0000 (14:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5572 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 5b8abcb..85ed08a 100755 (executable)
@@ -10384,7 +10384,6 @@ static int reload_config(void)
                        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",