Changeset 988 for vendor/current/libcli/echo/echo.c
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/libcli/echo/echo.c
r740 r988 76 76 &local_addr); 77 77 if (ret != 0) { 78 tevent_req_nterror(req, map_nt_error_from_unix (ret));78 tevent_req_nterror(req, map_nt_error_from_unix_common(ret)); 79 79 return tevent_req_post(req, ev); 80 80 } … … 83 83 ECHO_PORT, &server_addr); 84 84 if (ret != 0) { 85 tevent_req_nterror(req, map_nt_error_from_unix (ret));85 tevent_req_nterror(req, map_nt_error_from_unix_common(ret)); 86 86 return tevent_req_post(req, ev); 87 87 } … … 89 89 ret = tdgram_inet_udp_socket(local_addr, server_addr, state, &dgram); 90 90 if (ret != 0) { 91 tevent_req_nterror(req, map_nt_error_from_unix (ret));91 tevent_req_nterror(req, map_nt_error_from_unix_common(ret)); 92 92 return tevent_req_post(req, ev); 93 93 } … … 133 133 134 134 if (len == -1 && err != 0) { 135 tevent_req_nterror(req, map_nt_error_from_unix (err));135 tevent_req_nterror(req, map_nt_error_from_unix_common(err)); 136 136 return; 137 137 } … … 169 169 170 170 if (len == -1 && err != 0) { 171 tevent_req_nterror(req, map_nt_error_from_unix(err)); 171 tevent_req_nterror(req, map_nt_error_from_unix_common(err)); 172 return; 173 } 174 175 if (len != state->orig_len) { 176 tevent_req_nterror(req, NT_STATUS_INVALID_NETWORK_RESPONSE); 172 177 return; 173 178 }
Note:
See TracChangeset
for help on using the changeset viewer.