]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - daemon.c
Make the loglevels start at zero.
[paraslash.git] / daemon.c
index bb75478adae6f639b314fa7aa98a7ad2c3501e72..6c1321b20eb22a99649fdc9b98a00e73ce233301 100644 (file)
--- a/daemon.c
+++ b/daemon.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1997-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 1997-2009 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -116,7 +116,7 @@ void log_welcome(const char *whoami, int loglevel)
  *
  * \sa getpwnam(3), getuid(2), setuid(2), getgrnam(2), setgid(2)
  */
-void para_drop_privileges(const char *username, const char *groupname)
+void drop_privileges_or_die(const char *username, const char *groupname)
 {
        struct passwd *p;
        char *tmp;