diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-04-04 17:55:34 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-04-04 17:55:34 -0600 |
commit | 5a6ddae7324ec3e753aba48e9244ee138eaf8da4 (patch) | |
tree | 9c84f90ddc8223dfa43d2418ea68bae59742301d /imap/src/c-client | |
parent | 20a011de7f4e60e2dc1498a37c8829fdc207902b (diff) | |
download | alpine-5a6ddae7324ec3e753aba48e9244ee138eaf8da4.tar.xz |
* http debug support sets debug flag before checking if stream is open and might
be closed.
Diffstat (limited to 'imap/src/c-client')
-rw-r--r-- | imap/src/c-client/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/src/c-client/http.c b/imap/src/c-client/http.c index cb34f896..82824cc3 100644 --- a/imap/src/c-client/http.c +++ b/imap/src/c-client/http.c @@ -950,11 +950,11 @@ http_open (unsigned char *url) stream->netstream = net_open (&mb, NIL, mb.port ? mb.port : HTTPTCPPORT, (NETDRIVER *) mail_parameters (NIL,GET_SSLDRIVER,NIL), "*https", mb.port ? mb.port : HTTPSSLPORT); + stream->debug = http_debug; if(!stream->netstream){ http_close(stream); stream = NIL; } - stream->debug = http_debug; return stream; } |