From d8e3aad2c36043d83d9ddc6af71a4724d3433096 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 22 Feb 1998 16:37:05 +0000 Subject: Typo fix. svn path=/trunk/; revision=1667 --- smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smtp.c') diff --git a/smtp.c b/smtp.c index 72bc44b7..651f943d 100644 --- a/smtp.c +++ b/smtp.c @@ -61,7 +61,7 @@ int SMTP_ehlo(int sock, char *host, int *opt) if (smtp_response[strlen(smtp_response)-1] == '\n') smtp_response[strlen(smtp_response)-1] = '\0'; if (smtp_response[strlen(smtp_response)-1] == '\r') - smtp_response[strlen(smtp_response)-1] = '\r'; + smtp_response[strlen(smtp_response)-1] = '\0'; if (n < 4) return SM_ERROR; smtp_response[n] = '\0'; -- cgit v1.2.3