summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpoprequest.cpp
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-06-01 17:23:51 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-06-01 17:23:51 -0400
commit7b9da4eeda7505162f37cbfa52591f7adff032e7 (patch)
tree74b2e727d62d30ddc0feae5c6fac28edd43d6b5d /indra/llcorehttp/_httpoprequest.cpp
parentf67084337cf8673d7d3fa76dbf3ace3b02b93e2c (diff)
Missed two instances of priority typed as 'float'. Became an
excuse to go through an use a typedef for priority and policy class id.
Diffstat (limited to 'indra/llcorehttp/_httpoprequest.cpp')
-rw-r--r--indra/llcorehttp/_httpoprequest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llcorehttp/_httpoprequest.cpp b/indra/llcorehttp/_httpoprequest.cpp
index 54b9990057..791ee5f860 100644
--- a/indra/llcorehttp/_httpoprequest.cpp
+++ b/indra/llcorehttp/_httpoprequest.cpp
@@ -233,8 +233,8 @@ HttpStatus HttpOpRequest::cancel()
}
-HttpStatus HttpOpRequest::setupGetByteRange(unsigned int policy_id,
- float priority,
+HttpStatus HttpOpRequest::setupGetByteRange(HttpRequest::policy_t policy_id,
+ HttpRequest::priority_t priority,
const std::string & url,
size_t offset,
size_t len,
@@ -268,8 +268,8 @@ HttpStatus HttpOpRequest::setupGetByteRange(unsigned int policy_id,
}
-HttpStatus HttpOpRequest::setupPost(unsigned int policy_id,
- float priority,
+HttpStatus HttpOpRequest::setupPost(HttpRequest::policy_t policy_id,
+ HttpRequest::priority_t priority,
const std::string & url,
BufferArray * body,
HttpOptions * options,