diff options
author | Gerald Carter <jerry@samba.org> | 2005-08-01 20:54:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:00:19 -0500 |
commit | 14a9d52832b19a698968900da6378d542d6a21ce (patch) | |
tree | 3c74f3434ba64313cc611d8f6168f544c9a92702 /source3/lib | |
parent | 473cfa4c35170ec51a9ae92986ff2891e5068d4b (diff) | |
download | samba-14a9d52832b19a698968900da6378d542d6a21ce.tar.gz samba-14a9d52832b19a698968900da6378d542d6a21ce.tar.bz2 samba-14a9d52832b19a698968900da6378d542d6a21ce.zip |
r8899: various compiler warning fixes reported by Jason Mader <jason@ncac.gwu.edu>
(This used to be commit d8ae9f2b3e5387ef2c4e84cd9c33f4a7c795b0d3)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/substitute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c index 15862f7a96..c6d61bce95 100644 --- a/source3/lib/substitute.c +++ b/source3/lib/substitute.c @@ -386,7 +386,7 @@ void standard_sub_basic(const char *smb_name, char *str,size_t len) string_sub(p,"%i", client_socket_addr(),l); break; case 'L' : - if (!StrnCaseCmp(p, "\%LOGONSERVER\%", 13)) { + if (!StrnCaseCmp(p, "%LOGONSERVER%", strlen("%LOGONSERVER%"))) { p++; break; } |