[Freeswitch-svn] [commit] r6046 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN anthm at freeswitch.org
Tue Oct 23 21:45:08 EDT 2007


Author: anthm
Date: Tue Oct 23 21:45:08 2007
New Revision: 6046

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c

Log:
worth a shot sheesh

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c	Tue Oct 23 21:45:08 2007
@@ -508,16 +508,12 @@
 	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";



More information about the Freeswitch-svn mailing list