Commit 367f4f90 authored by Pekka Pessi's avatar Pekka Pessi

stun.c: removed unused variables in stun_test_nattype()

darcs-hash:20061121211601-65a35-d261a7a38edab5e97fabf3716fd7ab9376336252.gz
parent 9306d157
......@@ -1223,9 +1223,7 @@ int stun_test_nattype(stun_handle_t *sh,
char const *server = NULL;
stun_request_t *req = NULL;
stun_discovery_t *sd = NULL;
su_sockaddr_t bind_addr;
su_socket_t s = INVALID_SOCKET;
socklen_t bind_len;
su_sockaddr_t *destination = NULL;
enter;
......@@ -1251,8 +1249,6 @@ int stun_test_nattype(stun_handle_t *sh,
ta_end(ta);
bind_len = sizeof bind_addr;
if (s < 0)
return errno = EFAULT, -1;
......
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