diff --git a/HISTORY b/HISTORY index c2c2dafc..1ef32948 100644 --- a/HISTORY +++ b/HISTORY @@ -9277,3 +9277,4 @@ Video Disk Recorder Revision History from the Recordings menu. - Fixed handling SVDRP peering for more than one instance of VDR on the same machine, and improved logging and debug output. +- Fixed case inconsistency with SVDRPDefaultHost in config.c. diff --git a/config.c b/config.c index a44f9bf9..43c3cbbb 100644 --- a/config.c +++ b/config.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.c 4.7 2017/12/09 14:17:02 kls Exp $ + * $Id: config.c 4.8 2018/02/15 14:40:36 kls Exp $ */ #include "config.h" @@ -642,7 +642,7 @@ bool cSetup::Parse(const char *Name, const char *Value) else if (!strcasecmp(Name, "SVDRPTimeout")) SVDRPTimeout = atoi(Value); else if (!strcasecmp(Name, "SVDRPPeering")) SVDRPPeering = atoi(Value); else if (!strcasecmp(Name, "SVDRPHostName")) { if (*Value) strn0cpy(SVDRPHostName, Value, sizeof(SVDRPHostName)); } - else if (!strcasecmp(Name, "SVDRPdefaultHost")) strn0cpy(SVDRPDefaultHost, Value, sizeof(SVDRPDefaultHost)); + else if (!strcasecmp(Name, "SVDRPDefaultHost")) strn0cpy(SVDRPDefaultHost, Value, sizeof(SVDRPDefaultHost)); else if (!strcasecmp(Name, "ZapTimeout")) ZapTimeout = atoi(Value); else if (!strcasecmp(Name, "ChannelEntryTimeout")) ChannelEntryTimeout= atoi(Value); else if (!strcasecmp(Name, "RcRepeatDelay")) RcRepeatDelay = atoi(Value);