- To: slug-chat@xxxxxxxxxxx
- Subject: Re: [chat] you are in a maze of twisty little header files, all alike...
- From: Jan Schmidt <thaytan@xxxxxxxxxxxxxxxxx>
- Date: Wed, 2 Jul 2003 15:09:31 +1000
- User-agent: Mutt/1.5.4i
<quote who="Jamie Wilkinson">
> So I got a useful error message from curl just now:
>
> curl: (7) socket error: 113
*snip*
> 113 means "host unreachable". I think I might patch curl to add strerror
> calls in the right places :-)
>
As a time saver:
jan@oven:/usr/include$ grep -r 113 . | grep errno
./asm/errno.h:#define EHOSTUNREACH 113 /* No route to host */
strerror sounds like a good patch to me.
J.
--
Jan Schmidt thaytan@xxxxxxxxxxxxxxxxx
"Karaoke bars combine two of the nation's greatest evils:
people who shouldn't drink with people who shouldn't sing."
-Tom Dreesen