X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/2d0a6606ee8899dfe372bbdc760fd15c14f3fceb..802bb5963b7883e640a87a11dcd7a81bf811a076:/server/choose.c diff --git a/server/choose.c b/server/choose.c index 405a95d..d033d7f 100644 --- a/server/choose.c +++ b/server/choose.c @@ -1,6 +1,6 @@ /* * This file is part of DisOrder - * Copyright (C) 2008 Richard Kettlewell + * Copyright (C) 2008, 2009, 2011 Richard Kettlewell * Copyright (C) 2008 Mark Wooding * * This program is free software: you can redistribute it and/or modify @@ -42,7 +42,7 @@ static const struct option options[] = { }; /* display usage message and terminate */ -static void help(void) { +static void attribute((noreturn)) help(void) { xprintf("Usage:\n" " disorder-choose [OPTIONS]\n" "Options:\n" @@ -281,6 +281,7 @@ int main(int argc, char **argv) { openlog(progname, LOG_PID, LOG_DAEMON); log_default = &log_syslog; } + config_per_user = 0; if(config_read(0, NULL)) disorder_fatal(0, "cannot read configuration"); /* Find out current queue/recent list */ queue_read();