X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fweapons%2Fweaponstats.qc;h=296d10fa6bd0bef9b26f857c6e86ed4db684b9f7;hb=65b54b5967f0a152ff308a37196a583e816c1f72;hp=2ffb1c1ec8dfa60403d672d524f5239af73da64f;hpb=06ac66a5edaa645e19ed9a6482409e8656a65b1d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/weapons/weaponstats.qc b/qcsrc/server/weapons/weaponstats.qc index 2ffb1c1ec..296d10fa6 100644 --- a/qcsrc/server/weapons/weaponstats.qc +++ b/qcsrc/server/weapons/weaponstats.qc @@ -1,5 +1,7 @@ #include "weaponstats.qh" +#include +#include #include "../g_world.qh" #include @@ -47,21 +49,21 @@ void WeaponStats_ready(entity fh, entity pass, float status) case URL_READY_CANREAD: // url_fclose is processing, we got a response for writing the data // this must come from HTTP - LOG_INFO("Got response from weapon stats server:\n"); + LOG_INFO("Got response from weapon stats server:"); while((s = url_fgets(fh))) - LOG_INFO(" ", s, "\n"); - LOG_INFO("End of response.\n"); + LOG_INFO(" ", s); + LOG_INFO("End of response."); url_fclose(fh); break; case URL_READY_CLOSED: // url_fclose has finished - LOG_INFO("Weapon stats written\n"); + LOG_INFO("Weapon stats written"); buf_del(weaponstats_buffer); weaponstats_buffer = -1; break; case URL_READY_ERROR: default: - LOG_INFO("Weapon stats writing failed: ", ftos(status), "\n"); + LOG_INFO("Weapon stats writing failed: ", ftos(status)); buf_del(weaponstats_buffer); weaponstats_buffer = -1; break;