]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-http: Changed http_client_request_error to set request to NULL
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 18 May 2016 16:40:32 +0000 (19:40 +0300)
committerStephan Bosch <stephan@dovecot.fi>
Thu, 26 May 2016 01:05:44 +0000 (03:05 +0200)
commitd5c665cf2989d49922b63439ac45714e9755838a
treea3521cfd827d80977c85942df853172d10ca80ae
parent1c2f122ae93d3316f6746f255f6659b510527cc8
lib-http: Changed http_client_request_error to set request to NULL

It's going to internally unreference it, so the caller should be aware of it
also.

I also changed request state check to be an assert, since I don't think
there's any safe way this could work otherwise.
src/lib-http/http-client-connection.c
src/lib-http/http-client-host.c
src/lib-http/http-client-private.h
src/lib-http/http-client-queue.c
src/lib-http/http-client-request.c