Failed to open sockets.

This commit is contained in:
Love Hornquist Astrand
2009-07-30 15:53:39 +02:00
parent 20a06042da
commit ce28389265

View File

@@ -428,7 +428,7 @@ doit_active (kx_context *kc)
tmp2 = get_xsockets (&nsockets, &sockets, kc->tcp_flag);
if (tmp2 < 0)
return 1;
errx(1, "Failed to open sockets");
display_num = tmp2;
if (kc->tcp_flag)
snprintf (display, display_size, "localhost:%u", display_num);