Skip to content

Commit 4ef9830

Browse files
committed
fix: use literal for function's arguments
1 parent fd8d07e commit 4ef9830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/network.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ void cloudsync_network_logout (sqlite3_context *context, int argc, sqlite3_value
890890
goto finalize;
891891
}
892892

893-
sql = cloudsync_memory_mprintf("SELECT cloudsync_init(\"%w\", \"%w\", 1);", tbl_name, value);
893+
sql = cloudsync_memory_mprintf("SELECT cloudsync_init('%q', '%q', 1);", tbl_name, value);
894894
rc = sqlite3_exec(db, sql, NULL, NULL, NULL);
895895
cloudsync_memory_free(sql);
896896
if (rc != SQLITE_OK) {

0 commit comments

Comments
 (0)