[pisa-src] r2267 - trunk/libpisa/sysdep_fw.c

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 14 Apr 2010 19:45:21 +0200

Author: gherzan
Date: Wed Apr 14 19:45:21 2010
New Revision: 2267

Log:
libpisa: fix the location of an #ifdef in the firewall code.

Modified:
   trunk/libpisa/sysdep_fw.c

Modified: trunk/libpisa/sysdep_fw.c
==============================================================================
--- trunk/libpisa/sysdep_fw.c   Wed Apr 14 19:30:36 2010        (r2266)
+++ trunk/libpisa/sysdep_fw.c   Wed Apr 14 19:45:21 2010        (r2267)
@@ -19,6 +19,8 @@
 
 #define CMD_SIZE 256
 
+#ifdef __linux__
+
 int pisa_firewall_do(struct firewall_cmd *cmd)
 {
     char line[CMD_SIZE], temp[CMD_SIZE/4];
@@ -61,9 +63,6 @@
     return system(line);
 }
 
-#ifdef __linux__
-
-
 #elif defined(__APPLE__)
 
 int pisa_firewall_do(struct firewall_cmd *cmd)

Other related posts:

  • » [pisa-src] r2267 - trunk/libpisa/sysdep_fw.c - Mircea Gherzan