From f7202b9564fa3405464e94d9178c9089ff3dafc8 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Thu, 18 Aug 2011 18:34:59 +0000 Subject: [PATCH] * Fix detection of Samsung Series D models. --- upnphttp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upnphttp.c b/upnphttp.c index 49a9a3d..d65bf22 100644 --- a/upnphttp.c +++ b/upnphttp.c @@ -302,7 +302,7 @@ intervening space) by either an integer or the keyword "infinite". */ h->reqflags |= FLAG_DLNA; h->reqflags |= FLAG_MIME_AVI_DIVX; } - else if(strncmp(p, "SEC_HHP_", 8)==0) + else if(strstrc(p, "SEC_HHP_", '\r')) { h->req_client = ESamsungTV; h->reqflags |= FLAG_SAMSUNG;