Commit fe07e107 authored by Maia Jejelava's avatar Maia Jejelava
Browse files

Bug fixed.

parent 95f57d17
......@@ -16,7 +16,7 @@ int main(int argc, char* argv[]) {
int ret;
if ((ret = getaddrinfo(argv[1], NULL, NULL, &result))) {
fprintf(stderr, "Getaddrinfo: %s\n", gai_strerror(ret_val));
fprintf(stderr, "Getaddrinfo: %s\n", gai_strerror(ret));
return 2;
}
......
Supports Markdown
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