git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04f2858
)
don't core dump in smbstatus if we can't open the shmem system
author
Andrew Tridgell
<tridge@samba.org>
Sat, 31 Oct 1998 09:31:29 +0000
(09:31 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Sat, 31 Oct 1998 09:31:29 +0000
(09:31 +0000)
(This used to be commit
ef9749798ab72a5e26f9cb5d0904266d6df70f8c
)
source3/locking/locking.c
patch
|
blob
|
history
diff --git
a/source3/locking/locking.c
b/source3/locking/locking.c
index b71b7755248192724967f7a3d17531191f4bfef4..84c9c442b5a7eb71e92e798c6e958a4d5a657bc0 100644
(file)
--- a/
source3/locking/locking.c
+++ b/
source3/locking/locking.c
@@
-285,6
+285,7
@@
BOOL modify_share_mode(int token, files_struct *fsp, int new_mode)
int share_mode_forall(void (*fn)(share_mode_entry *, char *))
{
+ if (!share_ops) return 0;
return share_ops->forall(fn);
}