git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22b9d9d
)
Fix uninitialized variable use caught by valgrind.
author
Jeremy Allison
<jra@samba.org>
Thu, 28 May 2009 20:33:06 +0000
(13:33 -0700)
committer
Jeremy Allison
<jra@samba.org>
Thu, 28 May 2009 20:33:06 +0000
(13:33 -0700)
Jeremy.
source3/libsmb/clifile.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clifile.c
b/source3/libsmb/clifile.c
index 0703f04c5ff900e6b853d99e7421f55d7c8460e3..62d710ede4c11ec59998929e31847de4a891de4f 100644
(file)
--- a/
source3/libsmb/clifile.c
+++ b/
source3/libsmb/clifile.c
@@
-308,7
+308,7
@@
bool cli_unix_stat(struct cli_state *cli, const char *name, SMB_STRUCT_STAT *sbu
sbuf->st_uid = (uid_t) IVAL(rdata,40); /* user ID of owner */
sbuf->st_gid = (gid_t) IVAL(rdata,48); /* group ID of owner */
- sbuf->st_mode
|
= unix_filetype_from_wire(IVAL(rdata, 56));
+ sbuf->st_mode = unix_filetype_from_wire(IVAL(rdata, 56));
#if defined(HAVE_MAKEDEV)
{
uint32 dev_major = IVAL(rdata,60);