From af2381a1f82e3a5a77d5fcc4d07e35e18502520c Mon Sep 17 00:00:00 2001 From: Thomas Harning Jr Date: Sat, 15 Dec 2007 21:59:09 -0500 Subject: [PATCH] core: output_hook defaults sending to 'socket' for now... Current code that handles 'SOCKET' fd-types specially have a fallback mechanism anyways, so it adds performance without risk. --- core/src/output_hook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/output_hook.c b/core/src/output_hook.c index 78b0d27..d362fb5 100644 --- a/core/src/output_hook.c +++ b/core/src/output_hook.c @@ -49,7 +49,7 @@ void output_hook_callback(EV_P_ struct ev_io *w, int revents) { fprintf(stderr, "In output_hook\n"); while(next) { /* ASSUME OUTPUT IS PIPE FOR NOW */ - ssize_t ret = output_send(next, fd, FDT_PIPE); + ssize_t ret = output_send(next, fd, FDT_SOCKET); if(ret < 0) break; /* Error... output_item should have triggered */ next = get_next(hook); } -- 2.11.4.GIT