Fixed HTTP-client query-string handling bug.
[doldaconnect.git] / daemon / log.c
index 61c7638..c3eac18 100644 (file)
@@ -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 <fredrik@dolda2000.com>
  *  
  *  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);
 }