summaryrefslogtreecommitdiff
path: root/lib/err.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-01 13:56:49 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-01 13:56:49 +0100
commit5831beb31310a2305348b9f2fbbef93659e12d07 (patch)
treea99b0fd9ae5a3434f4126da525970bf88f94cd32 /lib/err.c
parent809dbe710fe6aa1a7d7369e1ad78ea916e2b874f (diff)
Error handling cleanup 3.
Split timeout errors in connecting and I/O.
Diffstat (limited to 'lib/err.c')
-rw-r--r--lib/err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/err.c b/lib/err.c
index 650c05e..1e1dfaf 100644
--- a/lib/err.c
+++ b/lib/err.c
@@ -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))