[Freeswitch-svn] [commit] r5696 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
anthm at freeswitch.org
Tue Sep 11 16:40:49 EDT 2007
Author: anthm
Date: Tue Sep 11 16:40:49 2007
New Revision: 5696
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
Log:
fix warns
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Tue Sep 11 16:40:49 2007
@@ -1688,7 +1688,7 @@
void process_rpid(sip_unknown_t *un, private_object_t *tech_pvt)
{
int argc, x, screen = 1;
- char *mydata, *user, *argv[10] = { 0 };
+ char *mydata, *argv[10] = { 0 };
char *display = NULL;
size_t n = 0;
@@ -1702,7 +1702,7 @@
tech_pvt->caller_profile->caller_id_name = switch_core_session_strdup(tech_pvt->session, display);
}
if (*argv[0] == '<') {
- char *start, *end;
+ char *end;
argv[0]++;
n = strcspn(argv[0], ":");
argv[0] += (n + 1);
More information about the Freeswitch-svn
mailing list