Check 'tls_available' before calling mu_deinit_tls_libs(). Just for make
sure...
Showing
3 changed files
with
10 additions
and
5 deletions
1 | 2003-01-18 Wojciech Polak | ||
2 | |||
3 | * imap4d/util.c (util_bye): Check 'tls_available' before | ||
4 | calling mu_deinit_tls_libs(). Just for make sure... | ||
5 | * pop3d/extra.c (pop3d_bye): Likewise. | ||
6 | |||
1 | 2003-01-18 Sergey Poznyakoff | 7 | 2003-01-18 Sergey Poznyakoff |
2 | 8 | ||
3 | * include/mailutils/stream.h (stream_set_strerror) | 9 | * include/mailutils/stream.h (stream_set_strerror) | ... | ... |
... | @@ -1157,10 +1157,8 @@ util_bye () | ... | @@ -1157,10 +1157,8 @@ util_bye () |
1157 | } | 1157 | } |
1158 | /* There's no reason closing in/out streams otherwise */ | 1158 | /* There's no reason closing in/out streams otherwise */ |
1159 | #ifdef WITH_TLS | 1159 | #ifdef WITH_TLS |
1160 | mu_deinit_tls_libs (); | 1160 | if (tls_available) |
1161 | mu_deinit_tls_libs (); | ||
1161 | #endif /* WITH_TLS */ | 1162 | #endif /* WITH_TLS */ |
1162 | } | 1163 | } |
1163 | 1164 | ||
1164 | |||
1165 | |||
1166 | ... | ... |
... | @@ -184,7 +184,8 @@ pop3d_bye () | ... | @@ -184,7 +184,8 @@ pop3d_bye () |
184 | } | 184 | } |
185 | /* There's no reason closing in/out streams otherwise */ | 185 | /* There's no reason closing in/out streams otherwise */ |
186 | #ifdef WITH_TLS | 186 | #ifdef WITH_TLS |
187 | mu_deinit_tls_libs (); | 187 | if (tls_available) |
188 | mu_deinit_tls_libs (); | ||
188 | #endif /* WITH_TLS */ | 189 | #endif /* WITH_TLS */ |
189 | } | 190 | } |
190 | 191 | ... | ... |
-
Please register or sign in to post a comment