diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-09-18 08:07:50 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-09-18 08:07:50 -0400 |
commit | 70bcff6010f933c7dbce5d797ea354c6475e1f94 (patch) | |
tree | 7f9b4df960f88348a13a65194f685bc7d31cec35 /src/feature/control/control_cmd.c | |
parent | 5f00c03ed0327917409b074b99b7509c26128617 (diff) | |
parent | 25af8ada30b84a0df19763bbc226ae209c38a1a0 (diff) | |
download | tor-70bcff6010f933c7dbce5d797ea354c6475e1f94.tar.gz tor-70bcff6010f933c7dbce5d797ea354c6475e1f94.zip |
Merge branch 'bug31772_041' into maint-0.4.1
Diffstat (limited to 'src/feature/control/control_cmd.c')
-rw-r--r-- | src/feature/control/control_cmd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/feature/control/control_cmd.c b/src/feature/control/control_cmd.c index abb579bd43..e0706ee4c8 100644 --- a/src/feature/control/control_cmd.c +++ b/src/feature/control/control_cmd.c @@ -639,7 +639,9 @@ address_is_invalid_mapaddress_target(const char *addr) } static const control_cmd_syntax_t mapaddress_syntax = { - .max_args=1, + // no positional arguments are expected + .max_args=0, + // an arbitrary number of K=V entries are supported. .accept_keywords=true, }; |