Pull from CVS head: Explicitly state what we're checking sig_hup_block against.
authorphampson <phampson>
Tue, 26 Aug 2003 12:32:13 +0000 (12:32 +0000)
committerphampson <phampson>
Tue, 26 Aug 2003 12:32:13 +0000 (12:32 +0000)
src/main/radiusd.c

index 789f751..389dc4f 100644 (file)
@@ -938,8 +938,8 @@ int main(int argc, char *argv[])
                        /*
                         *  Receive the packet.
                         */
-                       if (sig_hup_block) {
-                               continue;
+                       if (sig_hup_block != FALSE) {
+                         continue;
                        }
                        packet = rad_recv(fd);
                        if (packet == NULL) {