summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet-restricted-helper5
1 files 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";