comparison src/smtpsend.c @ 110:c678d0342451

changed name ACC_NODOT_TERM to ACC_DOT_IGNORE for better understanding this is only a cosmetic change
author meillo@marmaro.de
date Tue, 29 Jun 2010 11:40:37 +0200
parents 9104234a56a5
children
comparison
equal deleted inserted replaced
109:db52c64acaa2 110:c678d0342451
97 97
98 while (optind < argc) { 98 while (optind < argc) {
99 msg->rcpt_list = g_list_append(msg->rcpt_list, create_address_qualified(argv[optind++], TRUE, conf.host_name)); 99 msg->rcpt_list = g_list_append(msg->rcpt_list, create_address_qualified(argv[optind++], TRUE, conf.host_name));
100 } 100 }
101 101
102 if ((ret = accept_message(stdin, msg, ACC_NODOT_TERM)) == AERR_OK) { 102 if ((ret = accept_message(stdin, msg, ACC_DOT_IGNORE)) == AERR_OK) {
103 if ((ret = smtp_deliver(server_name, server_port, resolve_list, msg, NULL, NULL)) == smtp_ok) { 103 if ((ret = smtp_deliver(server_name, server_port, resolve_list, msg, NULL, NULL)) == smtp_ok) {
104 exit(EXIT_SUCCESS); 104 exit(EXIT_SUCCESS);
105 } 105 }
106 fprintf(stderr, "deliver failed: %d\n", ret); 106 fprintf(stderr, "deliver failed: %d\n", ret);
107 } 107 }