From: Rudolf Polzer Date: Mon, 3 Oct 2011 16:49:59 +0000 (+0200) Subject: fclose: handle stdout handles PROPERLY X-Git-Tag: xonotic-v0.6.0~40^2~101^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=04719611f2e1509a4b9c8b625b1f60b374f5081e;p=xonotic%2Fxonotic-data.pk3dir.git fclose: handle stdout handles PROPERLY --- diff --git a/qcsrc/common/urllib.qc b/qcsrc/common/urllib.qc index 96a44cdd8..d23873e74 100644 --- a/qcsrc/common/urllib.qc +++ b/qcsrc/common/urllib.qc @@ -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