1
0
mirror of synced 2026-01-28 20:31:03 +00:00

Bugfix: Can't pass @_ to templated functions which expect scalars

This commit is contained in:
Axel Beckert
2012-11-28 00:52:20 +01:00
parent ab9b033068
commit 8bd56bd67e

View File

@@ -837,8 +837,8 @@ my $PASSWORD = '';
# Minor helpers for reducing code duplication
sub fail ($) { fail_with_config(@_, \%CONFIG); }
sub logprint ($) { logprint_with_config(@_, \%CONFIG); }
sub fail ($) { fail_with_config($_[0], \%CONFIG); }
sub logprint ($) { logprint_with_config($_[0], \%CONFIG); }
#
# Setup default options.