Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:multimedia
toxcore
fix-nonvoid-returns-random.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-nonvoid-returns-random.patch of Package toxcore
diff -Nur old/other/bootstrap_daemon/src/log.c new/other/bootstrap_daemon/src/log.c --- old/other/bootstrap_daemon/src/log.c 2016-01-30 02:52:59.000000000 +0100 +++ new/other/bootstrap_daemon/src/log.c 2016-01-30 03:24:47.789632289 +0100 @@ -74,6 +74,9 @@ case LOG_LEVEL_ERROR: return LOG_ERR; + + default: + return LOG_INFO; } } @@ -85,12 +88,13 @@ FILE *level_stdout(LOG_LEVEL level) { switch (level) { - case LOG_LEVEL_INFO: - return stdout; - case LOG_LEVEL_WARNING: // intentional fallthrough case LOG_LEVEL_ERROR: return stderr; + + case LOG_LEVEL_INFO: // intentional fallthrough + default: + return stdout; } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor