From 5a2a1c3ce60093acddfe18d00c099760f963df25 Mon Sep 17 00:00:00 2001 From: Tats Date: Sat, 26 Apr 2014 13:32:37 +0100 Subject: [PATCH] Cosmetic change --- OscReceiver.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/OscReceiver.cpp b/OscReceiver.cpp index 93910af..70891ae 100644 --- a/OscReceiver.cpp +++ b/OscReceiver.cpp @@ -9,10 +9,7 @@ OscReceiver::OscReceiver(const std::string &port) : port_(port), server_(lo_server_thread_new(port_.c_str(), error)) { - if (server_ == NULL) - server_is_ok_ = false; - else - server_is_ok_ = true; + server_is_ok_ = (server_ != NULL); // #ifdef CONFIG_DEBUG // /* add method that will match any path and args */ // lo_server_thread_add_method(server_, NULL, NULL, genericHandler, this);