< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

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


Fixed - thanks Dario!


On Mon, Sep 1, 2014 at 5:51 AM, Dario Bozzali <Dario.Bozzali@xxxxxxxxxxx> wrote:

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.

 


_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel