[network-manager-fortisslvpn] contrib: fix bad arguments to HTTP::Response constructor
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-fortisslvpn] contrib: fix bad arguments to HTTP::Response constructor
- Date: Mon, 10 Jul 2017 17:17:59 +0000 (UTC)
commit fb9cd8ddc23596e4d50b92c92cb6d2d477bdda7d
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Mon Jul 10 16:27:30 2017 +0200
contrib: fix bad arguments to HTTP::Response constructor
contrib/fortiserve.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/contrib/fortiserve.pl b/contrib/fortiserve.pl
index cb8d721..022fa47 100755
--- a/contrib/fortiserve.pl
+++ b/contrib/fortiserve.pl
@@ -286,9 +286,9 @@ sub serve_request
);
} elsif ($request->uri eq '/remote/sslvpn-tunnel') {
do_ppp ($client);
- $response = new HTTP::Response (200 => 'OK', 'something');
+ $response = new HTTP::Response (200 => 'OK', [], 'something');
} elsif ($request->uri eq '/remote/logout') {
- $response = new HTTP::Response (200 => 'OK', 'something');
+ $response = new HTTP::Response (200 => 'OK', [], 'something');
} else {
$response = new HTTP::Response (404 => 'Not funny', [Connection => 'close']);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]