Commit cd508033 cd5080337053debd2e001441a7de6f841723f840 by Wojciech Polak

Check 'tls_available' before calling mu_deinit_tls_libs(). Just for make

sure...
1 parent e60beee7
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 if (tls_available)
1160 mu_deinit_tls_libs (); 1161 mu_deinit_tls_libs ();
1161 #endif /* WITH_TLS */ 1162 #endif /* WITH_TLS */
1162 } 1163 }
1163 1164
1164
1165
1166
......
...@@ -184,6 +184,7 @@ pop3d_bye () ...@@ -184,6 +184,7 @@ 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 if (tls_available)
187 mu_deinit_tls_libs (); 188 mu_deinit_tls_libs ();
188 #endif /* WITH_TLS */ 189 #endif /* WITH_TLS */
189 } 190 }
......