You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by al...@apache.org on 2018/10/11 19:47:44 UTC

nifi-minifi-cpp git commit: MINIFICPP-625: remove trailing and and fix some spacing issues while I'm here

Repository: nifi-minifi-cpp
Updated Branches:
  refs/heads/master 1eacc7a51 -> 51cdbb773


MINIFICPP-625: remove trailing and and fix some spacing issues while I'm here

This closes #406.

Signed-off-by: Aldrin Piri <al...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/51cdbb77
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/51cdbb77
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/51cdbb77

Branch: refs/heads/master
Commit: 51cdbb773f69cfaf958b1516a90a7911ea10e84d
Parents: 1eacc7a
Author: Marc Parisi <ph...@apache.org>
Authored: Tue Oct 2 07:27:22 2018 -0400
Committer: Aldrin Piri <al...@apache.org>
Committed: Thu Oct 11 15:47:27 2018 -0400

----------------------------------------------------------------------
 main/MiNiFiMain.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/51cdbb77/main/MiNiFiMain.cpp
----------------------------------------------------------------------
diff --git a/main/MiNiFiMain.cpp b/main/MiNiFiMain.cpp
index 1c5bded..a99c219 100644
--- a/main/MiNiFiMain.cpp
+++ b/main/MiNiFiMain.cpp
@@ -57,10 +57,9 @@ sem_t *running;
  * Semaphores are a portable choice when using signal handlers. Threads,
  * mutexes, and condition variables are not guaranteed to work within
  * a signal handler. Consequently we will use the semaphore to avoid thread
- * safety issues and.
+ * safety issues.
  */
 void sigHandler(int signal) {
-
   if (signal == SIGINT || signal == SIGTERM) {
     // avoid stopping the controller here.
     sem_post(running);
@@ -99,7 +98,7 @@ int main(int argc, char **argv) {
 #ifndef WIN32
     path = realpath(argv[0], full_path);
 #else
-	path = nullptr;
+    path = nullptr;
 #endif
 
     if (path != nullptr) {