commit | 5e3913779b891e8a5c6734755ff145d13e281ab3 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Aug 22 16:20:58 2016 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Aug 22 16:20:58 2016 +0200 |
tree | 12850916561cf2cf8e47f8a55d8dcf052149d0a2 | |
parent | 6b15106d930ceae05d2d59b89963a47c3e05c802 [diff] |
server session CHANGE do not use asserts
diff --git a/src/session_server.c b/src/session_server.c index 608887c..fefb58f 100644 --- a/src/session_server.c +++ b/src/session_server.c
@@ -1371,7 +1371,10 @@ } #else bind = &server_opts.binds[i]; - assert(bind->ti == ti); + if (bind->ti != ti) { + ERRINT; + goto fail; + } #endif if (!bind) { ERRINT;