From 5831beb31310a2305348b9f2fbbef93659e12d07 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 1 Mar 2011 13:56:49 +0100 Subject: Error handling cleanup 3. Split timeout errors in connecting and I/O. --- lib/include/radsec/radsec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/include/radsec') 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 { -- cgit v1.1