Commit e4c3aa01 authored by Kai Vehmanen's avatar Kai Vehmanen

Fixed compiler warnings in stun.

darcs-hash:20060505144102-7659e-0a6ba6e75437749f4279efc6eff3a57d35a206d2.gz
parent db901e2d
......@@ -1275,7 +1275,7 @@ static int stun_tls_callback(su_root_magic_t *m, su_wait_t *w, su_wakeup_arg_t *
stun_discovery_t *sd = arg;
stun_handle_t *self = sd->sd_handle;
stun_msg_t *msg_req, *resp;
int z, err;
int z, err = -1;
SSL_CTX* ctx;
SSL *ssl;
X509* server_cert;
......
......@@ -655,7 +655,7 @@ int stun_send_message(su_socket_t s, su_sockaddr_t *to_addr,
*/
int stun_encode_message(stun_msg_t *msg, stun_buffer_t *pwd) {
int z, len, buf_len = 0;
int z = -1, len, buf_len = 0;
unsigned char *buf;
stun_attr_t *attr, *msg_int=NULL;
......
......@@ -274,7 +274,6 @@ int main(int argc, char *argv[])
stunc_t stunc[1];
su_root_t *root = su_root_create(stunc);
stun_handle_t *sh;
su_sockaddr_t sa[1];
su_socket_t s;
if (argc < 3)
......
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