From e833ef95fb287ea713fc56137a6854b49384dc3d Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Tue, 17 Feb 2009 14:11:31 +0100 Subject: [PATCH] Remove broken macro. C preprocessor directives aren't allowed in macros --- src/main/listen.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/main/listen.c b/src/main/listen.c index 368711a..e08ad87 100644 --- a/src/main/listen.c +++ b/src/main/listen.c @@ -95,21 +95,6 @@ RADCLIENT *client_listener_find(const rad_listen_t *listener, rad_assert(listener != NULL); rad_assert(ipaddr != NULL); - rad_assert((listener->type == RAD_LISTEN_AUTH) -#ifdef WITH_STATS - || (listener->type == RAD_LISTEN_NONE) -#endif -#ifdef WITH_ACCOUNTING - || (listener->type == RAD_LISTEN_ACCT) -#endif -#ifdef WITH_VMPS - || (listener->type == RAD_LISTEN_VQP) -#endif -#ifdef WITH_DHCP - || (listener->type == RAD_LISTEN_DHCP) -#endif - ); - clients = ((listen_socket_t *)listener->data)->clients; /* -- 2.1.4