summaryrefslogtreecommitdiffhomepage
path: root/src/stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stats.c')
-rw-r--r--src/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c
index 93a30cf..9f4acc3 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -77,7 +77,7 @@ showstats (struct conn_s *connptr)
pthread_mutex_lock(&stats_file_lock);
- if (!config.statpage || (!(statfile = fopen (config.statpage, "r")))) {
+ if (!config->statpage || (!(statfile = fopen (config->statpage, "r")))) {
message_buffer = (char *) safemalloc (MAXBUFFSIZE);
if (!message_buffer) {
err_minus_one: