From 6c9c6ca77f2ec64eaa90b355ed037d6fdcc0e763 Mon Sep 17 00:00:00 2001 From: Frank Schmirler Date: Mon, 7 Nov 2011 17:15:10 +0100 Subject: restricted VTP command RENR to liemikuutio patch < 1.32 (fixes #786). Build fails with newer versions of this patch. RENR was introduced for XBMC which is no longer using streamdev at all, so the impact should be low. --- server/connectionVTP.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server') diff --git a/server/connectionVTP.c b/server/connectionVTP.c index 8224d1d..9ffa540 100644 --- a/server/connectionVTP.c +++ b/server/connectionVTP.c @@ -1750,7 +1750,7 @@ bool cConnectionVTP::CmdDELR(const char *Option) bool cConnectionVTP::CmdRENR(const char *Option) { INIT_WRAPPER(); -#if defined(LIEMIKUUTIO) +#if defined(LIEMIKUUTIO) && LIEMIKUUTIO < 132 bool recordings = Recordings.Update(true); if (recordings) { if (*Option) { @@ -1790,7 +1790,7 @@ bool cConnectionVTP::CmdRENR(const char *Option) Reply(550, "No recordings available"); } #else - Reply(501, "Rename not supported, please use LIEMIEXT"); + Reply(501, "Rename not supported, please use LIEMIKUUTIO < 1.32"); #endif /* LIEMIKUUTIO */ EXIT_WRAPPER(); } -- cgit v1.2.3