diff options
Diffstat (limited to 'indra/llmessage/llurlrequest.cpp')
-rw-r--r-- | indra/llmessage/llurlrequest.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llmessage/llurlrequest.cpp b/indra/llmessage/llurlrequest.cpp index df9c0149d4..a7b8573b0d 100644 --- a/indra/llmessage/llurlrequest.cpp +++ b/indra/llmessage/llurlrequest.cpp @@ -524,7 +524,10 @@ size_t headerCallback(void* data, size_t size, size_t nmemb, void* user) int statusCode = atoi(status.c_str()); if (statusCode > 0) { - complete->httpStatus((U32)statusCode, reason); + if (complete) + { + complete->httpStatus((U32)statusCode, reason); + } } } |