diff options
Diffstat (limited to 'src')
-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; } |