aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-02-22 16:37:05 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-02-22 16:37:05 +0000
commitd8e3aad2c36043d83d9ddc6af71a4724d3433096 (patch)
treecc7f5b18515e0a8019d5615096beae56fd3e74fa
parent8780f8c449b1d8ef2e44622484d47707fb14a2f2 (diff)
downloadfetchmail-d8e3aad2c36043d83d9ddc6af71a4724d3433096.tar.gz
fetchmail-d8e3aad2c36043d83d9ddc6af71a4724d3433096.tar.bz2
fetchmail-d8e3aad2c36043d83d9ddc6af71a4724d3433096.zip
Typo fix.
svn path=/trunk/; revision=1667
-rw-r--r--smtp.c2
1 files changed, 1 insertions, 1 deletions
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';