diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-07 22:37:29 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-07 22:37:29 +0200 |
commit | 2d00dd92f935a4887580e37e2879f765819bc97a (patch) | |
tree | 0a169093bb84e165418d7bc74ac4d56add350099 | |
parent | m (diff) | |
download | mds-2d00dd92f935a4887580e37e2879f765819bc97a.tar.gz mds-2d00dd92f935a4887580e37e2879f765819bc97a.tar.bz2 mds-2d00dd92f935a4887580e37e2879f765819bc97a.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/mds-server.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mds-server.c b/src/mds-server.c index 932e7ea..3416777 100644 --- a/src/mds-server.c +++ b/src/mds-server.c @@ -960,9 +960,10 @@ void multicast_message(char* message, size_t length) interception_condition_t* cond = conds + i; for (j = 0; j < header_count; j++) { + if (*(cond->condition) == '\0') + break; if (cond->header_hash == hashes[j]) - if ((*(cond->condition) == '\0') || - strequals(cond->condition, headers[j]) || + if (strequals(cond->condition, headers[j]) || strequals(cond->condition, header_values[j])) break; } |