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:
1c1d83d
)
fixed dircahe bug
author
Samba Release Account
<samba-bugs@samba.org>
Sat, 24 Aug 1996 01:32:51 +0000
(
01:32
+0000)
committer
Samba Release Account
<samba-bugs@samba.org>
Sat, 24 Aug 1996 01:32:51 +0000
(
01:32
+0000)
(This used to be commit
050f941e21aeb57ab47ac9d29fb4acfceab45087
)
source3/smbd/dir.c
patch
|
blob
|
history
diff --git
a/source3/smbd/dir.c
b/source3/smbd/dir.c
index 42bd54c2703730514d01c9fc1281bf1cf0681d85..f2e672987e400c868c7ce503c5850d872613d1a2 100644
(file)
--- a/
source3/smbd/dir.c
+++ b/
source3/smbd/dir.c
@@
-649,9
+649,9
@@
void DirCacheAdd(char *path,char *name,char *dname,int snum)
if (dir_cache_size == DIRCACHESIZE) {
for (entry=dir_cache, count=1;
- entry->next && count < dir_cache_size;
+ entry->next && count < dir_cache_size
+ 1
;
entry=entry->next, count++) ;
- if (entry->next || count != dir_cache_size) {
+ if (entry->next || count != dir_cache_size
+ 1
) {
DEBUG(0,("DirCache bug - please report\n"));
}
free(entry->path);