summaryrefslogtreecommitdiff
path: root/doc/ja
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-07-06 20:39:02 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-07-06 20:39:02 +0200
commit965173ded568560a3f5e6fdce51777f65671a0e2 (patch)
tree6fd3db7517663480c1806270fb9ef932c7a5515e /doc/ja
parent768c0d9acc9066d7fcf3d51c15cf2e3cae82f616 (diff)
downloadweechat-965173ded568560a3f5e6fdce51777f65671a0e2.zip
doc: fix typos in examples of function hook_process_hashtable (plugin API reference)
Diffstat (limited to 'doc/ja')
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index fad46760f..6ec16f469 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -8935,7 +8935,7 @@ struct t_hashtable *options_url1 = weechat_hashtable_new (8,
NULL);
if (options_url1)
{
- weechat_hashtable_set (options, "file_out", "/tmp/weechat.org.html");
+ weechat_hashtable_set (options_url1, "file_out", "/tmp/weechat.org.html");
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:https://weechat.org/",
options_url1,
20000,
@@ -8951,7 +8951,7 @@ struct t_hashtable *options_url2 = weechat_hashtable_new (8,
NULL);
if (options_url2)
{
- weechat_hashtable_set (options, "httpheader",
+ weechat_hashtable_set (options_url2, "httpheader",
"Header1: value1\n"
"Header2: value2");
struct t_hook *my_process_hook = weechat_hook_process_hashtable ("url:http://localhost:8080/",