summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpoprequest.h
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.h
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.h')
-rw-r--r--indra/llcorehttp/_httpoprequest.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/llcorehttp/_httpoprequest.h b/indra/llcorehttp/_httpoprequest.h
index 7efed0b1d9..e973f6ad26 100644
--- a/indra/llcorehttp/_httpoprequest.h
+++ b/indra/llcorehttp/_httpoprequest.h
@@ -30,10 +30,10 @@
#include "linden_common.h" // Modifies curl/curl.h interfaces
-#include "httpcommon.h"
-
#include <curl/curl.h>
+#include "httpcommon.h"
+#include "httprequest.h"
#include "_httpoperation.h"
#include "_refcounted.h"
@@ -76,16 +76,16 @@ public:
public:
// Setup Methods
- HttpStatus setupGetByteRange(unsigned int policy_id,
- float priority,
+ HttpStatus setupGetByteRange(HttpRequest::policy_t policy_id,
+ HttpRequest::priority_t priority,
const std::string & url,
size_t offset,
size_t len,
HttpOptions * options,
HttpHeaders * headers);
- HttpStatus setupPost(unsigned int policy_id,
- float priority,
+ HttpStatus setupPost(HttpRequest::policy_t policy_id,
+ HttpRequest::priority_t priority,
const std::string & url,
BufferArray * body,
HttpOptions * options,