From: Anthony Minessale Date: Wed, 24 Oct 2007 01:45:08 +0000 (+0000) Subject: worth a shot sheesh X-Git-Tag: v1.0-beta2~324 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb8f0cb1caf96be9029b2f0e7031aba331964ca7;p=thirdparty%2Ffreeswitch.git worth a shot sheesh git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6046 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 4f019e8552..bd91c07d50 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -508,16 +508,12 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char * char *to; char *open; char *tmp; - char *prpid = rpid; + char *prpid = "onthephone"; if (!rpid) { rpid = "unknown"; } - if (!prpid) { - prpid = "onthephone"; - } - if (in) { note = switch_mprintf("%s", status); open = "open";