X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Furllib.qh;h=6353c33fef643404c63b2dd16824c9bf9ae0a5ad;hp=8a871c6b3fdebbfefc9945aca37c2c8dccdd7ab3;hb=059f7f64d7c7bc3d80340fbeae6e9e2b1ee7126b;hpb=ca387f77b7b8044475a7c359e22d2e6d4ebf513d diff --git a/qcsrc/common/urllib.qh b/qcsrc/common/urllib.qh index 8a871c6b3f..6353c33fef 100644 --- a/qcsrc/common/urllib.qh +++ b/qcsrc/common/urllib.qh @@ -1,7 +1,7 @@ -float URL_READY_ERROR = -1; -float URL_READY_CLOSED = 0; -float URL_READY_CANWRITE = 1; -float URL_READY_CANREAD = 2; +const float URL_READY_ERROR = -1; +const float URL_READY_CLOSED = 0; +const float URL_READY_CANWRITE = 1; +const float URL_READY_CANREAD = 2; // errors: -1, or negative HTTP status code typedef void(entity handle, entity pass, float status) url_ready_func;