* Fix one more spot where we could close an aleady-closed socket.

This commit is contained in:
Justin Maggard 2009-11-12 01:54:45 +00:00
parent 24ff2a8a1c
commit 64a173bd51

View File

@ -715,6 +715,7 @@ ProcessHttpQuery_upnphttp(struct upnphttp * h)
{ {
DPRINTF(E_WARN, L_HTTP, "Invalid request, responding ERROR 400. (No Host specified in HTTP headers?)\n"); DPRINTF(E_WARN, L_HTTP, "Invalid request, responding ERROR 400. (No Host specified in HTTP headers?)\n");
Send400(h); Send400(h);
return;
} }
#if 1 /* 7.3.33.4 */ #if 1 /* 7.3.33.4 */
else if( ((h->reqflags & FLAG_TIMESEEK) || (h->reqflags & FLAG_PLAYSPEED)) && else if( ((h->reqflags & FLAG_TIMESEEK) || (h->reqflags & FLAG_PLAYSPEED)) &&