Commit aa6242ea authored by Marcus Lundblad's avatar Marcus Lundblad Committed by Youness Alaoui

Remove unnessesary changes

parent 8d87008a
......@@ -173,6 +173,7 @@ nice_interfaces_get_local_ips (gboolean include_loopback)
struct ifaddrs *ifa, *results;
GList *loopbacks = NULL;
if (getifaddrs (&results) < 0)
return NULL;
......
......@@ -43,7 +43,6 @@
#include "stunhmac.h"
#include "stun5389.h"
#include "utils.h"
#include "debug.h"
#include <string.h>
#include <stdlib.h>
......@@ -549,7 +548,6 @@ size_t stun_agent_finish_message (StunAgent *agent, StunMessage *msg,
STUN_ATTRIBUTE_REALM, &realm_len);
username = (uint8_t *) stun_message_find (msg,
STUN_ATTRIBUTE_USERNAME, &username_len);
if (username == NULL || realm == NULL) {
skip = TRUE;
} else {
......@@ -642,7 +640,6 @@ size_t stun_agent_finish_message (StunAgent *agent, StunMessage *msg,
msg->key = (uint8_t *) key;
msg->key_len = key_len;
return stun_message_length (msg);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment