diff --git a/upnpsoap.c b/upnpsoap.c index 4f6f22e..0f19035 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -1924,6 +1924,10 @@ SamsungSetBookmark(struct upnphttp * h, const char * action) ParseNameValue(h->req_buf + h->req_contentoff, h->req_contentlen, &data, 0); ObjectID = GetValueFromNameValueList(&data, "ObjectID"); PosSecond = GetValueFromNameValueList(&data, "PosSecond"); + + if ( atoi(PosSecond) < 30 ) + PosSecond = "0"; + if( ObjectID && PosSecond ) { int ret;