]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fclose: handle stdout handles PROPERLY
authorRudolf Polzer <divverent@xonotic.org>
Mon, 3 Oct 2011 16:49:59 +0000 (18:49 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 3 Oct 2011 16:49:59 +0000 (18:49 +0200)
qcsrc/common/urllib.qc

index 96a44cdd83d655dadc2e0d4dcdf6017d03cd8d23..d23873e74c81eea11a1f877c43a9ce44252a1380 100644 (file)
@@ -267,6 +267,7 @@ void url_fclose(entity e, url_ready_func rdy, entity pass)
        }
        else if(e.url_fh == URL_FH_STDOUT)
        {
+               rdy(e, pass, URL_READY_CLOSED); // closing creates no reading handle
                remove(e);
        }
        else