diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-03-21 21:27:16 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-03-21 21:27:16 +0100 |
commit | 1f813417045b0417b3ed7a18a1f9433c06865b2d (patch) | |
tree | c2ccb81b0414688f39047d600b2802bf48ccfb8c /src/log | |
parent | aadee5804b8e10a0ce1a0cd92e5f50a4459a01dc (diff) | |
download | wolfbones-1f813417045b0417b3ed7a18a1f9433c06865b2d.tar.gz wolfbones-1f813417045b0417b3ed7a18a1f9433c06865b2d.tar.bz2 |
rmeoved debug code
Diffstat (limited to 'src/log')
-rw-r--r-- | src/log/log.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/log/log.c b/src/log/log.c index 3c97f00..383e14d 100644 --- a/src/log/log.c +++ b/src/log/log.c @@ -312,7 +312,7 @@ SeverityNames = ( */ static DWORD wolf_log_category_to_eventlog_category( int category_id ) { - return category_id | 0x0FFF0000L; + return( category_id | 0x0FFF0000L ); } static DWORD wolf_log_event_id_to_eventlog_event_id( WORD severity, int message_id ) { @@ -333,11 +333,7 @@ static DWORD wolf_log_event_id_to_eventlog_event_id( WORD severity, int message_ case EVENTLOG_INFORMATION_TYPE: s = 1; break; } - id = message_id | 0x0FFF0000L | ( s << 30 ); - -printf( "%d %x %ld\n", s, id, id ); - - return id; + return( message_id | 0x0FFF0000L | ( s << 30 ) ); } #endif /* defined HAVE_EVENTLOG */ |