Change '=' in comparison to '=='
authoraland <aland>
Fri, 30 Aug 2002 14:14:17 +0000 (14:14 +0000)
committeraland <aland>
Fri, 30 Aug 2002 14:14:17 +0000 (14:14 +0000)
src/modules/rlm_sql/sql.c

index 90f23b0..fc9a509 100644 (file)
@@ -238,7 +238,7 @@ SQLSOCK * sql_get_socket(SQL_INST * inst) {
        }
 
        /* We get here if every DB handle is unconnected and unconnectABLE */
-       radlog((tried_to_connect = 0) ? (L_DBG) : (L_CONS | L_ERR), "rlm_sql:  There are no DB handles to use!");
+       radlog((tried_to_connect == 0) ? (L_DBG) : (L_CONS | L_ERR), "rlm_sql:  There are no DB handles to use!");
        return NULL;
 }