summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2023-08-09 17:29:15 +0800
committerMole Shang <[email protected]>2023-08-09 17:30:30 +0800
commitc636d2e78e464246b3dd7bc8ce0b8e5d8a5bf7a6 (patch)
tree3ca0539da181565257d41259cc8e539c469fe847 /src/ui.c
parentc952d1663bf8d7e54926faab23ed2291c68b73f2 (diff)
downloadhinata-c636d2e78e464246b3dd7bc8ce0b8e5d8a5bf7a6.tar.gz
hinata-c636d2e78e464246b3dd7bc8ce0b8e5d8a5bf7a6.tar.bz2
hinata-c636d2e78e464246b3dd7bc8ce0b8e5d8a5bf7a6.zip
process_url: set referer in the separate function
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
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");
}