Make "struct policy" private to srv_lsa_hnd.c
[ira/wip.git] / source3 / smbd / conn.c
index a52f2d2e96915de7aaf12814f6c307b1bf12ec63..38006437692a8b81a80153ac0eb8a198374dcf38 100644 (file)
@@ -212,7 +212,7 @@ bool conn_idle_all(time_t t)
 
        for (plist = get_first_internal_pipe(); plist;
             plist = get_next_internal_pipe(plist)) {
-               if (plist->pipe_handles && plist->pipe_handles->count) {
+               if (num_pipe_handles(plist->pipe_handles) != 0) {
                        return False;
                }
        }