db_purge: fix typo that cause SQL error

This commit is contained in:
David Anderson 2015-01-26 10:20:13 -08:00
parent fa7ded6751
commit 918dcd9179
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ bool do_pass() {
strcat(buf, buf2);
}
if (id_modulus) {
sprintf(buf2, "and id %% %d = %d", id_modulus, id_remainder);
sprintf(buf2, " and id %% %d = %d", id_modulus, id_remainder);
strcat(buf, buf2);
}
if (strlen(app_name)) {