X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Flog.c;h=c3eac189cbf7f8dd8ffe0721c44d9ab218804437;hb=4e564b59c7c565387c4907017dfacce2ef761f8a;hp=61c7638d2f34c2752b992b05033587d817a9f1bb;hpb=b5010caaa4606ea37df9cd1334dc99fff05a8bd3;p=doldaconnect.git diff --git a/daemon/log.c b/daemon/log.c index 61c7638..c3eac18 100644 --- a/daemon/log.c +++ b/daemon/log.c @@ -1,6 +1,6 @@ /* * Dolda Connect - Modular multiuser Direct Connect-style client - * Copyright (C) 2004 Fredrik Tolf (fredrik@dolda2000.com) + * Copyright (C) 2004 Fredrik Tolf * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -56,7 +56,7 @@ void flog(int priority, char *format, ...) writev(2, iov, 2); } if(logtosyslog) - syslog(priority, "%s", b); + syslog(syslogfac | priority, "%s", b); free(b); }