comparison src/online.c @ 164:5b621742b2e7

removed the mserver feature i.e. the functionality itself in the code the `mserver' value of online_detect and `mserver_iface' config options and the --enable-mserver configure option All functionality, however, is still available through mservdetect
author meillo@marmaro.de
date Thu, 08 Jul 2010 22:01:33 +0200
parents 3b344bf57162
children 3708b655a371
comparison
equal deleted inserted replaced
163:3914d7cabfbc 164:5b621742b2e7
19 19
20 #include <sys/stat.h> 20 #include <sys/stat.h>
21 #include <sys/wait.h> 21 #include <sys/wait.h>
22 22
23 #include "masqmail.h" 23 #include "masqmail.h"
24 #include "mserver.h"
25 #include "peopen.h" 24 #include "peopen.h"
26 25
27 gchar *connection_name; 26 gchar *connection_name;
28 27
29 void 28 void
115 } else { 114 } else {
116 logwrite(LOG_ALERT, "stat of %s failed: %s", conf.online_file, strerror(errno)); 115 logwrite(LOG_ALERT, "stat of %s failed: %s", conf.online_file, strerror(errno));
117 return NULL; 116 return NULL;
118 } 117 }
119 118
120 #ifdef ENABLE_MSERVER
121 } else if (strcmp(conf.online_detect, "mserver") == 0) {
122 DEBUG(3) debugf("connection method 'mserver'\n");
123 return mserver_detect_online(conf.mserver_iface);
124 #endif
125 } else if (strcmp(conf.online_detect, "pipe") == 0) { 119 } else if (strcmp(conf.online_detect, "pipe") == 0) {
126 DEBUG(3) debugf("connection method 'pipe'\n"); 120 DEBUG(3) debugf("connection method 'pipe'\n");
127 if (conf.online_pipe) 121 if (conf.online_pipe)
128 return detect_online_pipe(conf.online_pipe); 122 return detect_online_pipe(conf.online_pipe);
129 else { 123 else {