#include "../cokebank.h"
#include <sqlite3.h>
-#define DEBUG 1
+#define DEBUG 0
const char * const csBank_DatabaseSetup =
"CREATE TABLE IF NOT EXISTS accounts ("
{
Salt = Password = Username; // Shut up GCC
// DEBUG HACKS!
- #if 1
+ #if 0
return Bank_GetAcctByName(Username);
#else
return -1;
*/
int Bank_int_IsValidName(const char *Name)
{
+ if( !Name ) return 0;
while(*Name)
{
if( *Name == '\'' ) return 0;