diff options
Diffstat (limited to 'indra/llcorehttp')
| -rwxr-xr-x | indra/llcorehttp/httpresponse.h | 10 | 
1 files changed, 8 insertions, 2 deletions
| diff --git a/indra/llcorehttp/httpresponse.h b/indra/llcorehttp/httpresponse.h index a7f296e03f..bb4b59c16e 100755 --- a/indra/llcorehttp/httpresponse.h +++ b/indra/llcorehttp/httpresponse.h @@ -147,8 +147,14 @@ public:  	/// Get and set retry attempt information on the request.  	void getRetries(unsigned int * retries, unsigned int * retries_503) const  		{ -			*retries = mRetries; -			*retries_503 = m503Retries; +			if (retries) +			{ +				*retries = mRetries; +			} +			if (retries_503) +			{ +				*retries_503 = m503Retries; +			}  		}  	void setRetries(unsigned int retries, unsigned int retries_503) | 
