git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3036a9c
)
Fix Coverity CID 928. Removed check as this can never be null.
author
Jeremy Allison
<jra@samba.org>
Sat, 18 Jul 2009 04:40:23 +0000
(21:40 -0700)
committer
Jeremy Allison
<jra@samba.org>
Sat, 18 Jul 2009 04:40:23 +0000
(21:40 -0700)
Jeremy.
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index 7a0feea29171660d2c36ad383161a8203ce8af41..122114c24f68e6b2cbc9b930dc9a3e1d1c668e77 100644
(file)
--- a/
source3/smbd/trans2.c
+++ b/
source3/smbd/trans2.c
@@
-4088,7
+4088,7
@@
NTSTATUS smbd_do_qfilepathinfo(connection_struct *conn,
file_size = get_file_size_stat(&sbuf);
}
- if (fsp
&& fsp->fh
) {
+ if (fsp) {
pos = fsp->fh->position_information;
}