fix build without zeromq

This commit is contained in:
roberto@debian32
2011-04-25 16:56:06 +02:00
parent 66f82f364c
commit c4b7c2b58c
+4
View File
@@ -3088,7 +3088,11 @@ int uwsgi_cluster_add_me() {
uint16_t ustrlen;
char numproc[6];
#ifdef UWSGI_ZEROMQ
if (!uwsgi.sockets[0].name && !uwsgi.zeromq) {
#else
if (!uwsgi.sockets[0].name) {
#endif
uwsgi_log("you need to specify at least a socket to start a uWSGI cluster\n");
exit(1);
}