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

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:04:39 UTC 2015


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

infinity0 pushed a commit to branch debian
in repository onioncat.

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

    FreeBSD ifndef corrected
    
    git-svn-id: http://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