Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf6e746
)
dirplex: Fixed .htrc rechecking.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 29 Mar 2011 05:00:33 +0000
(07:00 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 29 Mar 2011 05:00:33 +0000
(07:00 +0200)
src/dirplex/conf.c
patch
|
blob
|
blame
|
history
diff --git
a/src/dirplex/conf.c
b/src/dirplex/conf.c
index
03d5477
..
08b78f3
100644
(file)
--- a/
src/dirplex/conf.c
+++ b/
src/dirplex/conf.c
@@
-264,10
+264,10
@@
struct config *getconfig(char *path)
for(cf = cflist; cf != NULL; cf = cf->next) {
if(!strcmp(cf->path, path)) {
if(now - cf->lastck > 5) {
+ cf->lastck = now;
if(stat(fn, &sb) || (sb.st_mtime != cf->mtime))
break;
}
- cf->lastck = now;
return(cf);
}
}