From dde062d8bdbf6409126ba130374ce7d0c91135f1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 8 Nov 2013 19:07:34 +0100 Subject: [PATCH] Fix check for auth slash split PAZ-899 --- src/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection.c b/src/connection.c index d2c9b70..b499b9d 100644 --- a/src/connection.c +++ b/src/connection.c @@ -452,7 +452,7 @@ static int connection_connect(struct connection *con, iochan_man_t iochan_man) { /* allow splitting user and reset with a blank always */ const char *cp1 = strchr(auth, ' '); - if (!cp1 && sru && *sru_version) + if (!cp1 && sru && *sru) cp1 = strchr(auth, '/'); if (!cp1) { -- 1.7.10.4