[pisa-src] r1398 - trunk/pisasd/sdnat.c

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 29 Oct 2009 12:51:04 +0100

Author: tjansen
Date: Thu Oct 29 12:51:04 2009
New Revision: 1398

Log:
Removed unintended semicolon after if statement.

Modified:
   trunk/pisasd/sdnat.c

Modified: trunk/pisasd/sdnat.c
==============================================================================
--- trunk/pisasd/sdnat.c        Thu Oct 29 12:50:46 2009        (r1397)
+++ trunk/pisasd/sdnat.c        Thu Oct 29 12:51:04 2009        (r1398)
@@ -65,7 +65,7 @@
        }
 
        PISA_DEBUG(PL_NAT, "Disabling ip_forwarding.\n");
-       if (write(fd, "0", 1) != 1);
+       if (write(fd, "0", 1) != 1)
                PISA_ERROR("pisa_forwarding_stop: failed to write the 
ip_forward status\n");
        sd_ctx.disable_ip4_forward = 0;
 

Other related posts:

  • » [pisa-src] r1398 - trunk/pisasd/sdnat.c - Thomas Jansen