Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90f6e95
)
Fixed socktype bug in sendreq.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 17 Dec 2008 01:38:45 +0000
(
02:38
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 17 Dec 2008 01:38:45 +0000
(
02:38
+0100)
lib/req.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/req.c
b/lib/req.c
index
da367a3
..
2671159
100644
(file)
--- 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_
DGR
AM, 0, pfds))
+ if(socketpair(PF_UNIX, SOCK_
STRE
AM, 0, pfds))
return(-1);
bufinit(buf);
bufcatstr2(buf, req->method);