From 143a9543c43ad30fdf3d11cf2c60797801d2edf9 Mon Sep 17 00:00:00 2001 From: Sledge Sulaweyo Date: Sun, 15 Jul 2018 15:14:39 +0200 Subject: [PATCH] switch default API to current --- plugins/rtorrent/rtom_allsessions_mem | 2 +- plugins/rtorrent/rtom_allsessions_peers | 2 +- plugins/rtorrent/rtom_allsessions_spdd | 2 +- plugins/rtorrent/rtom_allsessions_vol | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/rtorrent/rtom_allsessions_mem b/plugins/rtorrent/rtom_allsessions_mem index be30bda8..a29fa2ef 100755 --- a/plugins/rtorrent/rtom_allsessions_mem +++ b/plugins/rtorrent/rtom_allsessions_mem @@ -68,7 +68,7 @@ my $src = $ENV{"src"} || ""; my @sockets = split /,/, $ENV{"socket"} || ""; my $ip = $ENV{"ip"} || "127.0.0.1"; my @ports = split /,/, $ENV{"port"} || ""; -my $api = $ENV{"api"} || "pre09"; +my $api = $ENV{"api"} || "current"; my $mem = 0; my $pattern = qr/<(int|i4|i8|ex\.i8)>(\d+)<\/(int|i4|i8|ex\.i8)><\/value>/; diff --git a/plugins/rtorrent/rtom_allsessions_peers b/plugins/rtorrent/rtom_allsessions_peers index 6157eb04..7b6187c7 100755 --- a/plugins/rtorrent/rtom_allsessions_peers +++ b/plugins/rtorrent/rtom_allsessions_peers @@ -78,7 +78,7 @@ my $src = $ENV{"src"} || ""; my @sockets = split /,/, $ENV{"socket"} || ""; my $ip = $ENV{"ip"} || "127.0.0.1"; my @ports = split /,/, $ENV{"port"} || ""; -my $api = $ENV{"api"} || "pre09"; +my $api = $ENV{"api"} || "current"; my $pattern = qr/<(int|i4|i8|ex\.i8)>(\d+)<\/(int|i4|i8|ex\.i8)><\/value>/; my $tpattern = qr/[0-9A-F]{20}/; diff --git a/plugins/rtorrent/rtom_allsessions_spdd b/plugins/rtorrent/rtom_allsessions_spdd index 61827270..5a366105 100755 --- a/plugins/rtorrent/rtom_allsessions_spdd +++ b/plugins/rtorrent/rtom_allsessions_spdd @@ -92,7 +92,7 @@ my $src = $ENV{"src"} || ""; my @sockets = split /,/, $ENV{"socket"} || ""; my $ip = $ENV{"ip"} || "127.0.0.1"; my @ports = split /,/, $ENV{"port"} || ""; -my $api = $ENV{"api"} || "pre09"; +my $api = $ENV{"api"} || "current"; my $pattern = qr/<(int|i4|i8|ex\.i8)>([-]{0,1}\d+)<\/(int|i4|i8|ex\.i8)><\/value>/; my $line = ""; diff --git a/plugins/rtorrent/rtom_allsessions_vol b/plugins/rtorrent/rtom_allsessions_vol index 4977b509..a5db49d2 100755 --- a/plugins/rtorrent/rtom_allsessions_vol +++ b/plugins/rtorrent/rtom_allsessions_vol @@ -83,7 +83,7 @@ my $src = $ENV{"src"} || ""; my @sockets = split /,/, $ENV{"socket"} || ""; my $ip = $ENV{"ip"} || "127.0.0.1"; my @ports = split /,/, $ENV{"port"} || ""; -my $api = $ENV{"api"} || "pre09"; +my $api = $ENV{"api"} || "current"; my $pattern = qr/([A-Z0-9]+)<\/string><\/value>/;