diff options
author | Linus Nordberg <linus@nordu.net> | 2011-03-01 13:56:49 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-03-01 13:56:49 +0100 |
commit | 5831beb31310a2305348b9f2fbbef93659e12d07 (patch) | |
tree | a99b0fd9ae5a3434f4126da525970bf88f94cd32 /lib/err.c | |
parent | 809dbe710fe6aa1a7d7369e1ad78ea916e2b874f (diff) |
Error handling cleanup 3.
Split timeout errors in connecting and I/O.
Diffstat (limited to 'lib/err.c')
-rw-r--r-- | lib/err.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,8 +27,9 @@ static const char *_errtxt[] = { "internal error", /* 13 RSE_INTERNAL */ "SSL error", /* 14 RSE_SSLERR */ "invalid packet", /* 15 RSE_INVALID_PKT */ - "I/O timeout", /* 16 RSE_IOTIMEOUT */ + "connect timeout", /* 16 RSE_TIMEOUT_CONN */ "invalid argument", /* 17 RSE_INVAL */ + "I/O timeout", /* 18 RSE_TIMEOUT_IO */ }; #define ERRTXT_SIZE (sizeof(_errtxt) / sizeof(*_errtxt)) |