summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Zabaluev <mikhail.zabaluev@nokia.com>2011-09-01 11:32:08 +0300
committerMikhail Zabaluev <mikhail.zabaluev@nokia.com>2011-09-01 11:52:05 +0300
commit39fc20df8c978ebf072998cc1077a48ec6b41593 (patch)
tree483a49dd910ae10e790f7d51c9665378a6cf85f4
parentd2b3153f84e1f010b02ce4b084f3711ab95060e8 (diff)
Ignore the relay info in Jingle stanza if Google relay support is disabled
-rw-r--r--src/jingle-factory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jingle-factory.c b/src/jingle-factory.c
index 99de4ee0..7e9ee24a 100644
--- a/src/jingle-factory.c
+++ b/src/jingle-factory.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "config.h"
#include "jingle-factory.h"
#include <stdio.h>
@@ -299,6 +300,7 @@ got_jingle_info_stanza (
}
}
+#ifdef ENABLE_GOOGLE_RELAY
node = wocky_node_get_child (query_node, "relay");
if (node != NULL)
@@ -378,6 +380,7 @@ got_jingle_info_stanza (
}
}
+#endif /* ENABLE_GOOGLE_RELAY */
}
static gboolean