[PATCH] wapbox SSL config loads

"Vincent CHAVANIS" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <092401c893da$f42024c0$9600a8c0@VINCE>
Hi all,

Is there any reasons why we load ssl config
into wapbox without checking if we HAVE_LIBSSL ?
We do not want to load unused variables.
here is a patch that fix this.

any comments ?

Vincent.


diff -rauw /gateway-cvs/gw/wapbox.c /gateway/gw/wapbox.c
--- /gateway-cvs/gw/wapbox.c    2008-01-09 21:06:57.000000000 +0100
+++ /gateway/gw/wapbox.c        2008-03-20 18:45:34.000000000 +0100
@@ -147,7 +147,9 @@
     /* load parameters that could be later reloaded */
     config_reload(0);
     
+#ifdef HAVE_LIBSSL
     conn_config_ssl(grp);
+#endif /* HAVE_LIBSSL */
 
     /*
      * And the rest of the pull info comes from the wapbox group.




--
Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR)
Service Technique/Reseau - NOC
Direction du Developpement xMS+
http://www.telemaque.fr/
[email protected]
Tel : +33 4 92 90 99 84 (fax 9142)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.