NETCFG: move netconfig parser into its own file.
[citadel.git] / citadel / modules / network / serv_netconfig.c
index 12662f066564a786d71137f963c92dcb3e14715b..34ef2529bb94e3b69e84e1f93dab344aca9f34a5 100644 (file)
@@ -77,8 +77,8 @@
 #include "threads.h"
 #include "context.h"
 #include "netconfig.h"
-#include "netspool.h"
 #include "ctdl_module.h"
+#include "netspool.h"
 
 
 
@@ -650,7 +650,7 @@ int netconfig_check_roomaccess(
                return (ERROR + NO_SUCH_USER);
        }
        end_critical_section(S_NETCONFIGS);
-       found = is_recipient (sc, RemoteIdentifier);
+       found = is_recipient (sc->RNCfg, RemoteIdentifier);
        free_spoolcontrol_struct(&sc);
        if (found) {
                return (0);