From c636d2e78e464246b3dd7bc8ce0b8e5d8a5bf7a6 Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Wed, 9 Aug 2023 17:29:15 +0800 Subject: process_url: set referer in the separate function --- src/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index 2c1ab15..a54c9aa 100644 --- a/src/ui.c +++ b/src/ui.c @@ -92,7 +92,7 @@ void load_ui(struct ui_struct *ui) { if (outPath) { DEBUG_PRINT("tinyfd gets outPath: %s\n", outPath); append_log("Got URL: %s\n", text); - add_url(text, outPath, NULL, NULL, NULL, NULL); + add_url(text, outPath, NULL, NULL, NULL); } else { LOG("NFD", "Please specify a valid file PATH to write to!\n"); } -- cgit v1.2.3