Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b020f
)
Fix bug in request logger.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 4 Oct 2007 02:35:55 +0000
(
04:35
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 4 Oct 2007 02:35:55 +0000
(
04:35
+0200)
daemon/reqstat.c
patch
|
blob
|
blame
|
history
diff --git
a/daemon/reqstat.c
b/daemon/reqstat.c
index
41ca1c6
..
8a22dd8
100644
(file)
--- a/
daemon/reqstat.c
+++ b/
daemon/reqstat.c
@@
-122,12
+122,13
@@
static int chfile(struct configvar *var, void *uudata)
return(0);
}
-static
void pre
init(int hup)
+static
int
init(int hup)
{
if(!hup) {
GCBREG(newtransfercb, reg, NULL);
CBREG(confgetvar("reqstat", "file"), conf_update, chfile, NULL, NULL);
}
+ return(0);
}
static struct configvar myvars[] = {
@@
-141,8
+142,8
@@
static struct module me = {
.conf = {
.vars = myvars
},
- .
preinit = pre
init,
+ .
init =
init,
.name = "reqstat"
};
-MODULE(me)
;
+MODULE(me)