X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Freq.c;h=26711599a3879eec1697fbba7582b78522ee4a69;hb=a0327573bb6032e02e988a0d0aed709b4be7a422;hp=da367a34e4f7b2857b459c5f34e5c3b7cbf3398b;hpb=41213112d34e04d3d088600c6b5eafeaab21330c;p=ashd.git diff --git a/lib/req.c b/lib/req.c index da367a3..2671159 100644 --- a/lib/req.c +++ b/lib/req.c @@ -116,7 +116,7 @@ int sendreq(int sock, struct hthead *req) int pfds[2]; struct charbuf buf; - if(socketpair(PF_UNIX, SOCK_DGRAM, 0, pfds)) + if(socketpair(PF_UNIX, SOCK_STREAM, 0, pfds)) return(-1); bufinit(buf); bufcatstr2(buf, req->method);