From f6a5715d0436f1eefbd3261641d446e4de1334bf Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 24 Apr 2007 13:46:07 +0000 Subject: [PATCH] Fix typos I introduced into bsmtp.c git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4614 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/tools/bsmtp.c | 4 ++-- bacula/technotes-2.1 | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bacula/src/tools/bsmtp.c b/bacula/src/tools/bsmtp.c index 05851b869f..862269c357 100644 --- a/bacula/src/tools/bsmtp.c +++ b/bacula/src/tools/bsmtp.c @@ -383,7 +383,7 @@ hp: for (i = 0; i < argc; i++) { Dmsg1(20, "rcpt to: %s\n", argv[i]); - if (strchr(from_addr, '<') == NULL) { + if (strchr(argv[i], '<') == NULL) { chat("rcpt to:<%s>\r\n", argv[i]); } else { chat("rcpt to:%s\r\n", argv[i]); @@ -391,7 +391,7 @@ hp: } if (cc_addr) { - if (strchr(from_addr, '<') == NULL) { + if (strchr(cc_addr, '<') == NULL) { chat("rcpt to:<%s>\r\n", cc_addr); } else { chat("rcpt to:%s\r\n", cc_addr); diff --git a/bacula/technotes-2.1 b/bacula/technotes-2.1 index b01917258c..c8e75d9039 100644 --- a/bacula/technotes-2.1 +++ b/bacula/technotes-2.1 @@ -2,6 +2,7 @@ General: 24Apr07 +kes Fix typos I introduced into bsmtp.c kes Make pm_strxxx() routines handle input of NULL pointer. This is to protect from NULL pointers returned from SQL databases. kes Correct typo in bacula-sd manpage as pointed out by John Goerzen. -- 2.39.5