summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index cb24fd18c8..7b1f4975f7 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1487,7 +1487,7 @@ run_scheduled_events(time_t now)
/* 12. launch diff computations. (This is free if there are none to
* launch.) */
- if (server_mode(options)) {
+ if (dir_server_mode(options)) {
consdiffmgr_rescan();
}
}