Permalink
Browse files

[fix] resource_private.opa: remove deprecated warning

  • Loading branch information...
1 parent fef70fb commit 669e91b1d50b96859201b9df19aec81fadb8138e @OpaOnWindowsNow OpaOnWindowsNow committed Apr 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 stdlib/core/web/resource/resource_private.opa
@@ -914,7 +914,7 @@ export_resource(external_css_files: list(string),
uri = get_request_uri(req)
num_page = match thread_context().key with
| ~{client}-> do %%BslPingRegister.client_start%%(client) client.page
- | _ -> result = Random.int(max_int)
+ | _ -> result = Random.int(Limits.max_int)
do Log.warning("Resource export",
"This page is exported from a context that doesn't have a valid client thread context. Replacing by random value {result}")
result

0 comments on commit 669e91b

Please sign in to comment.