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]);
}
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);
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.