ConnectAnnounce: neon is kinda sus

This commit is contained in:
dogan 2020-11-17 20:00:07 +01:00
parent b1e0ea6195
commit 1cc9e61a57

View File

@ -300,6 +300,8 @@ public void TQueryCB(Handle owner, Handle rs, const char[] error, any data)
} }
int iRank = -1; int iRank = -1;
if ((rs != INVALID_HANDLE))
{
if (SQL_GetRowCount(rs) > 0) if (SQL_GetRowCount(rs) > 0)
{ {
int iField; int iField;
@ -309,6 +311,7 @@ public void TQueryCB(Handle owner, Handle rs, const char[] error, any data)
iRank = SQL_FetchInt(rs, iField); iRank = SQL_FetchInt(rs, iField);
iRank += 1; iRank += 1;
} }
}
Handle hFile = OpenFile(g_sDataFile, "r"); Handle hFile = OpenFile(g_sDataFile, "r");
static char sRawMsg[301]; static char sRawMsg[301];