git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
811df66
)
r4864: Remove unused var.
author
Jeremy Allison
<jra@samba.org>
Thu, 20 Jan 2005 01:19:57 +0000
(
01:19
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:54:00 +0000
(10:54 -0500)
Jeremy.
(This used to be commit
9fd5d633e65e00a44ba0136ee91170edcecfae24
)
source3/modules/vfs_expand_msdfs.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_expand_msdfs.c
b/source3/modules/vfs_expand_msdfs.c
index 07fbe59825ecf80201a40ef66a48776ad0855676..d22f6a7f98e45f88d4b4c735cec7d55d55c2f7e2 100644
(file)
--- a/
source3/modules/vfs_expand_msdfs.c
+++ b/
source3/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
, *s
pace = 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';