diff options
-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; } |