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;