]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/urllib.qc
fclose: handle stdout handles PROPERLY
[xonotic/xonotic-data.pk3dir.git] / 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