[reSIProcate] Compiler error (on Windows) in rutil Logging

Dario Bozzali Dario.Bozzali at ifmgroup.it
Mon Sep 1 04:51:54 CDT 2014


Hi all,
I updated my Resiprocate repository using latest revision (11223) and I encountered a compiler error in Log.cxx, line 253, using Visual C++ 200.
I think that we should set mSyslogFacility to LOG_DAEMON (default value) instead of LOG_DEBUG (undefined under WIN32).

--- Log.cxx          (revision 11223)
+++ Log.cxx        (working copy)
@@ -250,7 +250,7 @@
       mSyslogFacility = parseSyslogFacilityName(syslogFacilityName);
       if(mSyslogFacility == -1)
       {
-         mSyslogFacility = LOG_DEBUG;
+         mSyslogFacility = LOG_DAEMON;
       }
    }

Best regards,
Dario.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20140901/03e635c9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.cxx.patch
Type: application/octet-stream
Size: 373 bytes
Desc: Log.cxx.patch
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20140901/03e635c9/attachment.obj>


More information about the resiprocate-devel mailing list