From 439306bc46ba4cafb34e33c580525e60454b7e44 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 23 Jul 2009 13:11:38 +0000 Subject: (add_restricted_medium) wrap --- mdkapplet-restricted-helper | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mdkapplet-restricted-helper b/mdkapplet-restricted-helper index 181cf492..f2737061 100755 --- a/mdkapplet-restricted-helper +++ b/mdkapplet-restricted-helper @@ -116,8 +116,9 @@ my $error; sub add_restricted_medium { my ($email, $password) = @_; - my $res = get_from("https://my.mandriva.com/rest/authenticate", [ 'username', $email, 'password', $password, - 'return', 'userdata' ]); + my $res = get_from("https://my.mandriva.com/rest/authenticate", + [ 'username', $email, 'password', $password, + 'return', 'userdata' ]); my $ref = eval { XML::Simple->new->XMLin($res->{_content}) }; if (my $err = $@) { warn ">> XML error: $err\n"; -- cgit v1.2.1