Commit 43a5a05d authored by Dafydd Harries's avatar Dafydd Harries

declare variable holding fd as signed, since socket () can return negative values

darcs-hash:20070109123233-c9803-baadb2c08dc2cd83da1b7fbc58f6ed202f8af963.gz
parent a119715e
...@@ -25,7 +25,7 @@ GSList * ...@@ -25,7 +25,7 @@ GSList *
list_local_interfaces () list_local_interfaces ()
{ {
char buf[1024]; char buf[1024];
guint sock; gint sock;
guint i; guint i;
GSList *ret = NULL; GSList *ret = NULL;
struct ifconf ifc; struct ifconf ifc;
......
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