]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
[master] Fix debug build broken by 38078
authorThomas Markwalder <tmark@isc.org>
Thu, 18 Dec 2014 12:34:57 +0000 (07:34 -0500)
committerThomas Markwalder <tmark@isc.org>
Thu, 18 Dec 2014 12:34:57 +0000 (07:34 -0500)
    server/dhcpd.c -
        moved declarations of local variable in main(), used by pid file
        logic, outside of debug conditional compilation.

RELNOTES
server/dhcpd.c

index caeac9943d646cf650aaaae110afd16bf33e9c2a..0f155986e0ab84c9896c63bea2748bf49b10d963 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -208,6 +208,7 @@ by Eric Young (eay@cryptsoft.com).
   instance.  This check is only included if the admin hasn't disabled PID
   files.
   [ISC-Bugs #38078]
+  [ISC-Bugs #38143]
 
 - In the client code change the way preferred_life and max_life are printed
   for environment variables to be unsigned rather than signed.
index edd09ea74d71f5e2e6b750ea66844392d97523db..1d00507fd444de52c26c124ef8e21d21ef97be9d 100644 (file)
@@ -150,9 +150,9 @@ main(int argc, char **argv) {
        char *s;
        int cftest = 0;
        int lftest = 0;
-#ifndef DEBUG
        int pid;
        char pbuf [20];
+#ifndef DEBUG
        int daemon = 1;
 #endif
        int quiet = 0;