diff options
author | Gerald Carter <jerry@samba.org> | 2005-01-21 18:47:55 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2005-01-21 18:47:55 +0000 |
commit | 0ff19b2807e92b9abd3fc8cd716dd19284e93af9 (patch) | |
tree | 2f2b58e05c853b1a47f2d73e398da1cbd22fc8fc /source/modules/vfs_expand_msdfs.c | |
parent | f1f54e8731e7cf45a849d3c7bd6d7eee6f9b33b7 (diff) | |
download | samba-0ff19b2807e92b9abd3fc8cd716dd19284e93af9.tar.gz samba-0ff19b2807e92b9abd3fc8cd716dd19284e93af9.tar.xz samba-0ff19b2807e92b9abd3fc8cd716dd19284e93af9.zip |
r4904: sync up with 3.0 for 3.0.11pre2
Diffstat (limited to 'source/modules/vfs_expand_msdfs.c')
-rw-r--r-- | source/modules/vfs_expand_msdfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/modules/vfs_expand_msdfs.c b/source/modules/vfs_expand_msdfs.c index 07fbe59825e..d22f6a7f98e 100644 --- a/source/modules/vfs_expand_msdfs.c +++ b/source/modules/vfs_expand_msdfs.c @@ -40,7 +40,7 @@ static BOOL read_target_host(const char *mapfile, pstring targethost) { XFILE *f; pstring buf; - char *s, *space = buf; + char *space = buf; BOOL found = False; f = x_fopen(mapfile, O_RDONLY, 0); @@ -53,7 +53,7 @@ static BOOL read_target_host(const char *mapfile, pstring targethost) DEBUG(10, ("Scanning mapfile [%s]\n", mapfile)); - while ((s=x_fgets(buf, sizeof(buf), f)) != NULL) { + while (x_fgets(buf, sizeof(buf), f) != NULL) { if ((strlen(buf) > 0) && (buf[strlen(buf)-1] == '\n')) buf[strlen(buf)-1] = '\0'; |