Changeset 3ab9de0 in mainline


Ignore:
Timestamp:
2012-07-17T06:10:08Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
14de4106
Parents:
be73793
Message:

Fix bad condition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/logger/main.c

    rbe73793 r3ab9de0  
    7474static int handle_receive_message(logging_namespace_t *namespace, int level)
    7575{
    76         bool skip_message = (level > DEFAULT_LOGGING_LEVEL) || !namespace_has_reader(namespace);
     76        bool skip_message = (level > DEFAULT_LOGGING_LEVEL) && !namespace_has_reader(namespace);
    7777        if (skip_message) {
    7878                /* Abort the actual message buffer transfer. */
Note: See TracChangeset for help on using the changeset viewer.