aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-19 15:12:59 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-03-19 15:12:59 -0400
commitf003e97d10e42ea97b4a03fd62a296fe993a9677 (patch)
treeef736eb334fea8a77a53f1ba8a99f04108886b99 /IkiWiki
parent556ec2391414266248453809795b615070a52922 (diff)
downloadikiwiki-f003e97d10e42ea97b4a03fd62a296fe993a9677.tar
ikiwiki-f003e97d10e42ea97b4a03fd62a296fe993a9677.tar.gz
getargv needs to return a list reference
xml rpc only allows functions to return a single value, no lists. So getargv needs to return a list reference, which means that the caller will see an xml rpc array.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/external.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/external.pm b/IkiWiki/Plugin/external.pm
index 300dee7ed..a90c5d8e2 100644
--- a/IkiWiki/Plugin/external.pm
+++ b/IkiWiki/Plugin/external.pm
@@ -156,7 +156,7 @@ sub setstate ($$$$;@) { #{{{
sub getargv ($) { #{{{
my $plugin=shift;
- return @ARGV;
+ return \@ARGV;
} #}}}
sub setargv ($@) { #{{{