aboutsummaryrefslogtreecommitdiffstats
path: root/exclude.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-11-14 23:31:58 +0000
committerAndrew Tridgell <tridge@samba.org>1998-11-14 23:31:58 +0000
commit37f9805dabba76b7a00bd2a0227762f6f239b598 (patch)
tree2fe8e857cbe11030c3ae0256923c882f4b50f555 /exclude.c
parentb5f9e67d57f4e507dcb339a838c959244951f25f (diff)
downloadandroid_external_rsync-37f9805dabba76b7a00bd2a0227762f6f239b598.tar.gz
android_external_rsync-37f9805dabba76b7a00bd2a0227762f6f239b598.tar.bz2
android_external_rsync-37f9805dabba76b7a00bd2a0227762f6f239b598.zip
changed strlcat() and strlcpy() to have the same semantics as the
OpenBSD functions of the same name. changed slprintf() to take buffer length rather than buffer length -1
Diffstat (limited to 'exclude.c')
-rw-r--r--exclude.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exclude.c b/exclude.c
index 11d5eb08..9b325542 100644
--- a/exclude.c
+++ b/exclude.c
@@ -321,7 +321,7 @@ void add_cvs_excludes(void)
add_exclude(cvs_ignore_list[i], 0);
if ((p=getenv("HOME")) && strlen(p) < (MAXPATHLEN-12)) {
- slprintf(fname,sizeof(fname)-1, "%s/.cvsignore",p);
+ slprintf(fname,sizeof(fname), "%s/.cvsignore",p);
add_exclude_file(fname,0,0);
}