Commit 7275a828 authored by Kai Vehmanen's avatar Kai Vehmanen

Removed commented code segments.

darcs-hash:20060505153337-7659e-593af62eaba47397a79427b2b6cae33519e0b8e7.gz
parent 7885b06b
......@@ -2069,8 +2069,7 @@ static int action_determine_nattype(stun_request_t *req, stun_msg_t *binding_res
sd->sd_callback(sd->sd_magic, sh, sd, action, sd->sd_state);
req->sr_state = stun_dispose_me;
/* stun_request_destroy(req); */
/* stun_discovery_destroy(sd); */
return 0;
}
else if (sd->sd_first && sd->sd_second) {
......@@ -2083,8 +2082,7 @@ static int action_determine_nattype(stun_request_t *req, stun_msg_t *binding_res
sd->sd_callback(sd->sd_magic, sh, sd, action, sd->sd_state);
req->sr_state = stun_dispose_me;
/* stun_request_destroy(req); */
/* stun_discovery_destroy(sd); */
return 0;
}
else {
......@@ -2115,8 +2113,7 @@ static int action_determine_nattype(stun_request_t *req, stun_msg_t *binding_res
sd->sd_callback(sd->sd_magic, sh, sd, action, sd->sd_state);
req->sr_state = stun_dispose_me;
/* stun_request_destroy(req); */
/* stun_discovery_destroy(sd); */
return 0;
}
}
......@@ -2137,8 +2134,7 @@ static int action_determine_nattype(stun_request_t *req, stun_msg_t *binding_res
sd->sd_callback(sd->sd_magic, sh, sd, action, sd->sd_state);
req->sr_state = stun_dispose_me;
/* stun_request_destroy(req); */
/* stun_discovery_destroy(sd); */
return 0;
}
if (sd->sd_first && sd->sd_second) {
......@@ -2154,19 +2150,17 @@ static int action_determine_nattype(stun_request_t *req, stun_msg_t *binding_res
sd->sd_callback(sd->sd_magic, sh, sd, action, sd->sd_state);
req->sr_state = stun_dispose_me;
/* stun_request_destroy(req); */
/* stun_discovery_destroy(sd); */
return 0;
}
else if (sd->sd_first) {
if (memcmp(&local, li->li_addr, 8) == 0)
return 0;
}
}
/* The discovery process is still ongoing, but I can be killed */
req->sr_state = stun_dispose_me;
return 0;
}
......
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