diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-03-19 19:18:43 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-03-19 19:18:43 +0000 |
commit | 83510c3f7426d9d2c9372af6011d825dee52b751 (patch) | |
tree | bf88109fb54d03ab691338c87d98b6483737bb6a /gacopyz | |
parent | 1719166f6a842a25585586c1589609fe4d0ab134 (diff) | |
download | mailfromd-83510c3f7426d9d2c9372af6011d825dee52b751.tar.gz mailfromd-83510c3f7426d9d2c9372af6011d825dee52b751.tar.bz2 |
Implement connect handler. Pass additional argument to envfrom and envrcpt
git-svn-id: file:///svnroot/mailfromd/trunk@1297 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'gacopyz')
-rw-r--r-- | gacopyz/gacopyz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gacopyz/gacopyz.c b/gacopyz/gacopyz.c index 3d9ac8e8..1c71a142 100644 --- a/gacopyz/gacopyz.c +++ b/gacopyz/gacopyz.c @@ -870,7 +870,7 @@ shan_connect(SMFICTX *ctx, union state_arg *arg, unsigned char *cmd) s += sizeof port; len -= sizeof port; - if (len > 0 && s[len - 1]) + if (len > 0 && s[len]) return sret_abort; switch (family) { |