[hipl-commit] [trunk] Rev 4098: minor fix regarding reading of config

  • From: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 30 Mar 2010 14:52:41 +0300

Committer: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
Date: 30/03/2010 at 14:52:41
Revision: 4098
Revision-id: rene.hummen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  minor fix regarding reading of config

Modified:
  M  firewall/esp_prot_api.c

=== modified file 'firewall/esp_prot_api.c'
--- firewall/esp_prot_api.c     2010-03-18 21:15:21 +0000
+++ firewall/esp_prot_api.c     2010-03-30 11:51:33 +0000
@@ -232,7 +232,7 @@
     HIP_DEBUG("Initializing the esp protection extension...\n");
 
     // read settings from config-file
-    HIP_IFEL(!(config = esp_prot_read_config()), -1, "failed to read 
config-file\n");
+    config = esp_prot_read_config();
     HIP_IFEL(esp_prot_token_config(config), -1, "failed to process 
config-file\n");
     HIP_IFEL(esp_prot_sender_config(config), -1, "failed to process 
config-file\n");
     HIP_IFEL(esp_prot_release_config(config), -1, "failed to release 
config-file\n");

Other related posts:

  • » [hipl-commit] [trunk] Rev 4098: minor fix regarding reading of config - Rene Hummen