]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Remove extraneous parenthesis
authorTravis Cross <tc@traviscross.com>
Sun, 24 Jun 2012 07:36:14 +0000 (07:36 +0000)
committerTravis Cross <tc@traviscross.com>
Sun, 24 Jun 2012 07:36:14 +0000 (07:36 +0000)
This causes a warning that breaks the build with clang.

src/switch_rtp.c

index 27e6e83a269bc185c60bbb4cc32ab8faf880103b..05dd7ef0c594520f8cfe3715536ff90f6231208a 100644 (file)
@@ -702,7 +702,7 @@ static void handle_ice(switch_rtp_t *rtp_session, switch_rtp_ice_t *ice, void *d
                bytes = switch_stun_packet_length(rpacket);
                switch_socket_sendto(sock_output, from_addr, 0, (void *) rpacket, &bytes);
 
-       } else if ((packet->header.type == SWITCH_STUN_BINDING_ERROR_RESPONSE)) {
+       } else if (packet->header.type == SWITCH_STUN_BINDING_ERROR_RESPONSE) {
                switch_core_session_t *session = switch_core_memory_pool_get_data(rtp_session->pool, "__session");
                
                ice_out(rtp_session, ice);