projects
/
radsecproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb3c040
)
Improve error message.
author
linus
<linus@nordu.net>
Thu, 20 Jan 2011 16:28:12 +0000
(17:28 +0100)
committer
linus
<linus@nordu.net>
Thu, 20 Jan 2011 16:28:12 +0000
(17:28 +0100)
Differentiate between an invalid connection type string in config file
when parsing and unknown connection type (number) when connecting.
lib/packet.c
patch
|
blob
|
history
diff --git
a/lib/packet.c
b/lib/packet.c
index
7644646
..
0b879d2
100644
(file)
--- a/
lib/packet.c
+++ b/
lib/packet.c
@@
-362,7
+362,7
@@
_init_bev (struct rs_connection *conn, struct rs_peer *peer)
#endif /* RS_ENABLE_TLS */
default:
return rs_err_conn_push_fl (conn, RSE_INTERNAL, __FILE__, __LINE__,
- "%s:
invalid
connection type: %d", __func__,
+ "%s:
unknown
connection type: %d", __func__,
conn->type);
}