summaryrefslogtreecommitdiff
path: root/src/core/hook/wee-hook-process.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-09-08 11:34:56 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-09-16 10:19:51 +0200
commit63922ca03840caaa6deaf010d7627ad9542e19c5 (patch)
tree2c5f7c353e38907b66c88ca37adc01c88642b628 /src/core/hook/wee-hook-process.c
parenta5f4c3770be0496bc7c8981ecd4adbe323831b4e (diff)
downloadweechat-63922ca03840caaa6deaf010d7627ad9542e19c5.zip
api: add function hook_url
Diffstat (limited to 'src/core/hook/wee-hook-process.c')
-rw-r--r--src/core/hook/wee-hook-process.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hook/wee-hook-process.c b/src/core/hook/wee-hook-process.c
index 4de66b131..ff676dffc 100644
--- a/src/core/hook/wee-hook-process.c
+++ b/src/core/hook/wee-hook-process.c
@@ -278,7 +278,9 @@ hook_process_child (struct t_hook *hook_process)
{
ptr_url++;
}
- rc = weeurl_download (ptr_url, HOOK_PROCESS(hook_process, options));
+ rc = weeurl_download (ptr_url,
+ HOOK_PROCESS(hook_process, options),
+ NULL); /* output */
}
else if (strncmp (HOOK_PROCESS(hook_process, command), "func:", 5) == 0)
{