Allow 0 as an initial value of revision-number

This commit is contained in:
ejurgensen 2014-01-03 22:22:21 +01:00
parent c0fbab150f
commit 9c90abf603

View File

@ -1495,7 +1495,7 @@ dacp_reply_playstatusupdate(struct evhttp_request *req, struct evbuffer *evbuf,
return;
}
if (reqd_rev == 1)
if ((reqd_rev == 0) || (reqd_rev == 1))
{
ret = make_playstatusupdate(evbuf);
if (ret < 0)