From: Rudolf Polzer Date: Wed, 17 Aug 2011 20:00:21 +0000 (+0200) Subject: \n chars are given by the user X-Git-Tag: xonotic-v0.5.0~125 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0e5fddbd9435aa453c8e2f7c25049376aca419a1;p=xonotic%2Fxonotic-data.pk3dir.git \n chars are given by the user --- diff --git a/qcsrc/common/urllib.qc b/qcsrc/common/urllib.qc index 5a24a0fc4..57782c71a 100644 --- a/qcsrc/common/urllib.qc +++ b/qcsrc/common/urllib.qc @@ -180,7 +180,7 @@ void url_fclose(entity e, url_ready_func rdy, entity pass) } print(ftos(i), "\n"); - if(!uri_postbuf(e.url_url, i + MIN_URL_ID, "text/plain", "\n", e.url_wbuf)) + if(!uri_postbuf(e.url_url, i + MIN_URL_ID, "text/plain", "", e.url_wbuf)) { buf_del(e.url_wbuf); rdy(e, pass, URL_READY_ERROR);