X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fcommon%2Furllib.qh;h=6353c33fef643404c63b2dd16824c9bf9ae0a5ad;hb=be09f8e8377d90d8020d320ab9bf66453ddea5c4;hp=8a871c6b3fdebbfefc9945aca37c2c8dccdd7ab3;hpb=5dd3541b0f60354d303283c15c90a171efd58c15;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/urllib.qh b/qcsrc/common/urllib.qh index 8a871c6b3..6353c33fe 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;