diff options
author | Jeffrey Armstrong <jeff@approximatrix.com> | 2021-03-27 16:50:20 -0400 |
---|---|---|
committer | Jeffrey Armstrong <jeff@approximatrix.com> | 2021-03-27 16:50:20 -0400 |
commit | fd9077056f7f33c60b218636ead0644d42e75a09 (patch) | |
tree | 9010b2d5ed8d22fa1e571cdec79f8a6f0c30d66c /captain/db.f90 | |
parent | 0b8ec300ca4f2f2c3ce09d14ac1eed5478ea6420 (diff) | |
download | levitating-fd9077056f7f33c60b218636ead0644d42e75a09.tar.gz levitating-fd9077056f7f33c60b218636ead0644d42e75a09.zip |
Minor cleanup of the template code. Started on main program handling requests.
Diffstat (limited to 'captain/db.f90')
-rw-r--r-- | captain/db.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/captain/db.f90 b/captain/db.f90 index 6624cc1..5fbd0b4 100644 --- a/captain/db.f90 +++ b/captain/db.f90 @@ -37,7 +37,7 @@ contains type(sqlite3_stmt)::stmt if(stmt%prepare(db, "INSERT INTO players(name, token) VALUES(?, ?)") == SQLITE_OK) then - if(stmt%bind_text(1, "name!") == SQLITE_OK .and. stmt%bind_text(2, "token!") == SQLITE_OK) then + if(stmt%bind_text(1, name) == SQLITE_OK .and. stmt%bind_text(2, token) == SQLITE_OK) then call stmt%step_now() end if end if |