[Pkg-privacy-commits] [onioncat] 195/241: FreeBSD ifndef corrected

Intrigeri intrigeri at moszumanska.debian.org
Wed Aug 26 16:17:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch upstream-master
in repository onioncat.

commit 5ffa3860355d3c8838f8634d47798181241c09fc
Author: eagle <eagle at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date:   Thu Nov 12 14:57:59 2009 +0000

    FreeBSD ifndef corrected
    
    git-svn-id: https://www.cypherpunk.at/svn/onioncat/trunk@523 58e1ccc2-750e-0410-8d0d-f93ca75ab447
---
 src/ocat.c | 2 +-
 src/ocat.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ocat.c b/src/ocat.c
index 2c8e21a..288c306 100644
--- a/src/ocat.c
+++ b/src/ocat.c
@@ -143,7 +143,7 @@ void background(void)
          log_debug("parent %d exits, background pid = %d", ppid, pid);
          if (CNF(logf))
             fclose(CNF(logf));
-         _exit(0);
+         exit(0);
    }
 }
 
diff --git a/src/ocat.h b/src/ocat.h
index bd8e918..7df4d61 100644
--- a/src/ocat.h
+++ b/src/ocat.h
@@ -129,7 +129,7 @@
 #define TOR_SOCKS_PORT 9050
 #ifdef __OpenBSD__
 #define OCAT_UNAME "_tor"
-#elif __FreeBSD
+#elif __FreeBSD__
 #define OCAT_UNAME "_tor"
 #else
 #define OCAT_UNAME "tor"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncat.git



More information about the Pkg-privacy-commits mailing list