diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-06-22 08:22:18 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-06-22 08:22:18 +0000 |
commit | fb187ac0cf230d173bf184e8f64f5d5ec95bfe45 (patch) | |
tree | 3169481ec97dcc4771117974b2e7b85b2692e991 /gacopyz | |
parent | ea5d13c2fb8aa92f299e37116623e3ef881c1296 (diff) | |
download | mailfromd-fb187ac0cf230d173bf184e8f64f5d5ec95bfe45.tar.gz mailfromd-fb187ac0cf230d173bf184e8f64f5d5ec95bfe45.tar.bz2 |
Minor fixes.
* doc/mailfromd.texi: Fix a typo.
* mfd/prog.c: Fix comment.
* gacopyz/server.c: Fix erroneous range checking condition.
git-svn-id: file:///svnroot/mailfromd/trunk@1656 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'gacopyz')
-rw-r--r-- | gacopyz/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gacopyz/server.c b/gacopyz/server.c index 60a8bced..9b94435b 100644 --- a/gacopyz/server.c +++ b/gacopyz/server.c @@ -674,7 +674,7 @@ srv_connect(gacopyz_srv_t srv, char *proto, char *port, char *path) return -1; } - if (strlen(path) > sizeof addr.s_un.sun_path) { + if (strlen(path) >= sizeof addr.s_un.sun_path) { errno = EINVAL; gacopyz_io_log(&srv->iod, SMI_LOG_ERR, _("%s: UNIX socket name too long"), |