]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
worth a shot sheesh
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 24 Oct 2007 01:45:08 +0000 (01:45 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 24 Oct 2007 01:45:08 +0000 (01:45 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6046 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_presence.c

index 4f019e85528f9dd19ebf14ebe5976c6700dc9666..bd91c07d502b0c5af40f1e44e1547ffacb1bf60b 100644 (file)
@@ -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("<dm:note>%s</dm:note>", status);
                open = "open";