Code

Renamed CONNECTION_* constants to SDB_CONNECTION_*.
[sysdb.git] / src / frontend / session.c
index 0587c50a5f2a405ea03f801c481d197ce488db02..b0fc7803e2a0e23ab53a05cc6a1c694c4251b824 100644 (file)
@@ -47,7 +47,7 @@ sdb_fe_session_start(sdb_conn_t *conn)
        if ((! conn) || (conn->username))
                return -1;
 
-       if (conn->cmd != CONNECTION_STARTUP)
+       if (conn->cmd != SDB_CONNECTION_STARTUP)
                return -1;
 
        username = sdb_strbuf_string(conn->buf);
@@ -62,7 +62,7 @@ sdb_fe_session_start(sdb_conn_t *conn)
                sdb_strbuf_sprintf(conn->errbuf, "Authentication failed");
                return -1;
        }
-       sdb_connection_send(conn, CONNECTION_OK, 0, NULL);
+       sdb_connection_send(conn, SDB_CONNECTION_OK, 0, NULL);
        conn->ready = 1;
        return 0;
 } /* sdb_fe_session_start */