aboutsummaryrefslogtreecommitdiff
path: root/src/writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.cc')
-rw-r--r--src/writer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/writer.cc b/src/writer.cc
index 093711e..ee712ba 100644
--- a/src/writer.cc
+++ b/src/writer.cc
@@ -123,9 +123,9 @@ void Log(const char *ProtocolName, const char *Text, ...){
return;
}
- bool WriteDate = (strcmp(ProtocolName, "bugreport") == 0)
- || (strcmp(ProtocolName, "client-error") == 0)
- || (strcmp(ProtocolName, "load") == 0);
+ bool WriteDate = (strcmp(ProtocolName, "bugreport") != 0)
+ && (strcmp(ProtocolName, "client-error") != 0)
+ && (strcmp(ProtocolName, "load") != 0);
char Output[256];
va_list ap;