diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-27 11:22:23 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-06-27 11:23:20 +0200 |
commit | 34dc60a74fe0157412a8bbda015ed995ac08c589 (patch) | |
tree | 7e8f0b7ea3794dd3e67447913115c479793c8d9b /source3/client | |
parent | 2a5dee28928d412216bfbcbba0f6bc8352ca6674 (diff) | |
download | samba-34dc60a74fe0157412a8bbda015ed995ac08c589.tar.gz samba-34dc60a74fe0157412a8bbda015ed995ac08c589.tar.bz2 samba-34dc60a74fe0157412a8bbda015ed995ac08c589.zip |
Fix two IBM checker warnings
Steve, please check!
Thanks,
Volker
(This used to be commit 5222b8db3fb692e5071bfd1b41849a8eb0a17995)
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/mount.cifs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c index c42375b574..ea254b6047 100644 --- a/source3/client/mount.cifs.c +++ b/source3/client/mount.cifs.c @@ -514,8 +514,8 @@ static int parse_options(char ** optionsp, int * filesys_flags) printf("CIFS: UNC name too long\n"); return 1; } - } else if ((strncmp(data, "domain", 3) == 0) - || (strncmp(data, "workgroup", 5) == 0)) { + } else if ((strncmp(data, "domain", 6) == 0) + || (strncmp(data, "workgroup", 9) == 0)) { if (!value || !*value) { printf("CIFS: invalid domain name\n"); return 1; /* needs_arg; */ |