]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
picky picky
authorBrian West <brian@freeswitch.org>
Tue, 20 Jan 2009 21:28:25 +0000 (21:28 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 20 Jan 2009 21:28:25 +0000 (21:28 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11321 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_presence.c

index 7f29f27ab9b0d02b1de79fd17664026bbf8f51f1..01a68ed046de6d1a283360665f35e315e0cae805 100644 (file)
@@ -98,7 +98,7 @@ switch_status_t sofia_presence_chat_send(const char *proto, const char *from, co
        if (switch_strlen_zero(host)) {
                host = profile->domain_name;
                if (switch_strlen_zero(host)) {
-                       host=prof;
+                       host = prof;
                }
        }
        if (!sofia_reg_find_reg_url(profile, user, host, buf, sizeof(buf))) {
@@ -125,7 +125,7 @@ switch_status_t sofia_presence_chat_send(const char *proto, const char *from, co
                if (switch_strlen_zero(p)) {
                        p=profile->domain_name;
                        if (switch_strlen_zero(p)) {
-                               p=host;
+                               p = host;
                        }
                }