X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Furllib.qh;h=6353c33fef643404c63b2dd16824c9bf9ae0a5ad;hb=9a6a0128b84883350982d582b14f5c25fa5a6881;hp=8a871c6b3fdebbfefc9945aca37c2c8dccdd7ab3;hpb=120e26841a6db8566b8b55f6a0625ff5bcf5d3ad;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;