aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 30324cea2..43311b3a7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -415,6 +415,7 @@ static void killFromPidFile(char *cmd, int killOption)
int main(int argc, char *argv[])
{
Options options;
+ clock_t start;
closeAllFDs();
@@ -477,7 +478,7 @@ int main(int argc, char *argv[])
freeAllInterfaces();
closeAllListenSockets();
- clock_t start = clock();
+ start = clock();
closeMp3Directory();
DEBUG("closeMp3Directory took %f seconds\n",
((float)(clock()-start))/CLOCKS_PER_SEC);