#1689905 fixed (compilation with --disable-smtp was impossible)

MAINT_6_0
Stephane Bortzmeyer 17 years ago
parent edfc042884
commit b6f1aade2d

@ -1071,10 +1071,12 @@ main(argc, argv)
* Write something to the * Write something to the
* server * server
*/ */
#ifdef SMTP
if (port_to_use == USE_SMTP) { if (port_to_use == USE_SMTP) {
/* Get the greeting line */ /* Get the greeting line */
nr = smtp_read_response_from_server(files); nr = smtp_read_response_from_server(files);
} }
#endif
if (writen(sockfd, sendline, n) != n) { if (writen(sockfd, sendline, n) != n) {
if ((nr < 0 || nr != n) if ((nr < 0 || nr != n)
&& timeout_flag) { && timeout_flag) {

Loading…
Cancel
Save