Return free memory more aggressively.
[radsecproxy.git] / debug.c
diff --git a/debug.c b/debug.c
index 3b3a7fd..68f0f05 100644 (file)
--- a/debug.c
+++ b/debug.c
@@ -1,11 +1,6 @@
-/*
- * Copyright (C) 2007 Stig Venaas <venaas@uninett.no>
- * Copyright (C) 2010 NORDUnet A/S
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- */
+/* Copyright (c) 2007-2009, UNINETT AS
+ * Copyright (c) 2010-2011, NORDUnet A/S */
+/* See LICENSE for licensing information. */
 
 #ifndef SYS_SOLARIS9
 #include <stdint.h>
@@ -117,7 +112,7 @@ int debug_set_destination(char *dest, int log_type) {
             if (log_type != LOG_TYPE_FTICKS)
                 debug_syslogfacility = LOG_DAEMON;
 #if defined(WANT_FTICKS)
-            else if (log_type == FTICKS_LOG)
+            else if (log_type == LOG_TYPE_FTICKS)
                 fticks_syslogfacility = 0;
 #endif
        }