From 9b6ca64f5886077a0c5462cd984f0ccc814fef95 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 30 Nov 1999 19:50:32 +0000 Subject: duh - use dgram to talk to real syslogd --- src/minilogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/minilogd.c b/src/minilogd.c index b0432408..09cd2f03 100644 --- a/src/minilogd.c +++ b/src/minilogd.c @@ -35,7 +35,7 @@ void freeBuffer() { strncpy(addr.sun_path,_PATH_LOG,sizeof(addr.sun_path)-1); /* wait for klogd to hit syslog */ sleep(1); - sock = socket(AF_LOCAL, SOCK_STREAM,0); + sock = socket(AF_LOCAL, SOCK_DGRAM,0); conn=connect(sock,(struct sockaddr *) &addr,sizeof(addr)); while (x