Commit 842c3c13 authored by Dafydd Harries's avatar Dafydd Harries

fix check of socket() return value

darcs-hash:20070212131731-c9803-b5102d43f78a84e7809d45c21f9983d975b63d72.gz
parent 31b6770c
......@@ -71,7 +71,7 @@ socket_factory_init_socket (
sockfd = socket (PF_INET, SOCK_DGRAM, 0);
if (sock < 0)
if (sockfd < 0)
return FALSE;
name.sin_family = AF_INET;
......
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