]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
\n chars are given by the user
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 17 Aug 2011 20:00:21 +0000 (22:00 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 17 Aug 2011 20:00:21 +0000 (22:00 +0200)
qcsrc/common/urllib.qc

index 5a24a0fc4cad1aa5a13044305ea0273d326197cc..57782c71a13d426f3b674a70c601c47d05f77d58 100644 (file)
@@ -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);