]> git.saurik.com Git - apple/syslog.git/blobdiff - syslogd.tproj/remote.c
syslog-97.1.tar.gz
[apple/syslog.git] / syslogd.tproj / remote.c
index 520c6f6d0e9adc3d931ae51ff963fad8abf01d7a..7a97f55a0dd354c8f355949528ba39d6de17ffba 100644 (file)
@@ -783,7 +783,7 @@ remote_init_lockdown(void)
 
        chmod(SYSLOG_SOCK_PATH, 0666);
 
-       aslevent_addfd(fd, 0, remote_acceptmsg_local, NULL, NULL);
+       aslevent_addfd(SOURCE_SESSION, fd, 0, remote_acceptmsg_local, NULL, NULL);
        return fd;
 }
 
@@ -853,7 +853,7 @@ remote_init_tcp(int family)
                return -1;
        }
 
-       aslevent_addfd(fd, 0, remote_acceptmsg_tcp, NULL, NULL);
+       aslevent_addfd(SOURCE_SESSION, fd, 0, remote_acceptmsg_tcp, NULL, NULL);
        return fd;
 }