diff options
Diffstat (limited to 'linden/indra/llmessage/llurlrequest.cpp')
-rw-r--r-- | linden/indra/llmessage/llurlrequest.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/llmessage/llurlrequest.cpp b/linden/indra/llmessage/llurlrequest.cpp index b3dfb52..1c7648b 100644 --- a/linden/indra/llmessage/llurlrequest.cpp +++ b/linden/indra/llmessage/llurlrequest.cpp | |||
@@ -544,7 +544,10 @@ size_t headerCallback(void* data, size_t size, size_t nmemb, void* user) | |||
544 | int statusCode = atoi(status.c_str()); | 544 | int statusCode = atoi(status.c_str()); |
545 | if (statusCode > 0) | 545 | if (statusCode > 0) |
546 | { | 546 | { |
547 | complete->httpStatus((U32)statusCode, reason); | 547 | if (complete) |
548 | { | ||
549 | complete->httpStatus((U32)statusCode, reason); | ||
550 | } | ||
548 | } | 551 | } |
549 | } | 552 | } |
550 | 553 | ||