summaryrefslogtreecommitdiff
path: root/lib/include/radsec
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/include/radsec
parent809dbe710fe6aa1a7d7369e1ad78ea916e2b874f (diff)
Error handling cleanup 3.
Split timeout errors in connecting and I/O.
Diffstat (limited to 'lib/include/radsec')
-rw-r--r--lib/include/radsec/radsec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h
index 75ed522..34298cd 100644
--- a/lib/include/radsec/radsec.h
+++ b/lib/include/radsec/radsec.h
@@ -21,8 +21,9 @@ enum rs_err_code {
RSE_INTERNAL = 13,
RSE_SSLERR = 14, /* OpenSSL error. */
RSE_INVALID_PKT = 15,
- RSE_IOTIMEOUT = 16,
+ RSE_TIMEOUT_CONN = 16,
RSE_INVAL = 17,
+ RSE_TIMEOUT_IO = 18,
};
enum rs_conn_type {