From 04719611f2e1509a4b9c8b625b1f60b374f5081e Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 3 Oct 2011 18:49:59 +0200 Subject: [PATCH] fclose: handle stdout handles PROPERLY --- qcsrc/common/urllib.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/common/urllib.qc b/qcsrc/common/urllib.qc index 96a44cdd83..d23873e74c 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 -- 2.39.2