From f034d4af6612be9fc2b393855ec5ac95d548d5d8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 17 Dec 1996 20:36:26 +0000 Subject: Eliminate SockWrite and SockPrintf. svn path=/trunk/; revision=649 --- smtp.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'smtp.c') diff --git a/smtp.c b/smtp.c index 515366b5..0133e5a9 100644 --- a/smtp.c +++ b/smtp.c @@ -25,7 +25,7 @@ int SMTP_helo(FILE *sockfp,char *host) { int ok; - SockPrintf(sockfp,"HELO %s\r\n", host); + fprintf(sockfp,"HELO %s\r\n", host); if (outlevel == O_VERBOSE) error(0, 0, "SMTP> HELO %s", host); ok = SMTP_ok(sockfp); @@ -37,7 +37,7 @@ int SMTP_from(FILE *sockfp, char *from) { int ok; - SockPrintf(sockfp,"MAIL FROM:<%s>\r\n", from); + fprintf(sockfp,"MAIL FROM:<%s>\r\n", from); if (outlevel == O_VERBOSE) error(0, 0, "SMTP> MAIL FROM:<%s>", from); ok = SMTP_ok(sockfp); @@ -49,7 +49,7 @@ int SMTP_rcpt(FILE *sockfp, char *to) { int ok; - SockPrintf(sockfp,"RCPT TO:<%s>\r\n", to); + fprintf(sockfp,"RCPT TO:<%s>\r\n", to); if (outlevel == O_VERBOSE) error(0, 0, "SMTP> RCPT TO:<%s>", to); ok = SMTP_ok(sockfp); @@ -61,7 +61,7 @@ int SMTP_data(FILE *sockfp) { int ok; - SockPrintf(sockfp,"DATA\r\n"); + fprintf(sockfp,"DATA\r\n"); if (outlevel == O_VERBOSE) error(0, 0, "SMTP> DATA"); ok = SMTP_ok(sockfp); @@ -73,7 +73,7 @@ int SMTP_quit(FILE *sockfp) { int ok; - SockPrintf(sockfp,"QUIT\r\n"); + fprintf(sockfp,"QUIT\r\n"); if (outlevel == O_VERBOSE) error(0, 0, "SMTP> QUIT"); ok = SMTP_ok(sockfp); @@ -85,7 +85,7 @@ int SMTP_eom(FILE *sockfp) { int ok; - SockPrintf(sockfp,".\r\n"); + fprintf(sockfp,".\r\n"); if (outlevel == O_VERBOSE) error(0, 0, "SMTP>. (EOM)"); ok = SMTP_ok(sockfp); -- cgit v1.2.3