From dcb49de6330b5bf8e1da94076ea7874e1e78d929 Mon Sep 17 00:00:00 2001 From: Jakub Adam Date: Tue, 29 Sep 2015 17:28:28 +0200 Subject: [PATCH] purple: fix usage of HAVE_PURPLE_NEW_TCP_ENUMS In 4f9c260c1780daa29cdfa83795ab15e1f0d9f4cf, the conditional expression was inverted by accident. (cherry picked from commit 2b483793ee5b603e55dbff83d7ef57826ebea387) --- src/purple/purple-media.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/purple/purple-media.c b/src/purple/purple-media.c index ad96083e..d7f683b8 100644 --- a/src/purple/purple-media.c +++ b/src/purple/purple-media.c @@ -500,7 +500,8 @@ sipe_backend_media_add_remote_candidates(struct sipe_media_call *media, { GList *udp_candidates = NULL; -#ifdef HAVE_PURPLE_NEW_TCP_ENUMS +#ifndef HAVE_PURPLE_NEW_TCP_ENUMS + /* Keep only UDP candidates in the list to set. */ while (candidates) { PurpleMediaCandidate *candidate = candidates->data; PurpleMediaNetworkProtocol proto; -- 2.11.4.GIT