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:
926848c
)
Fixed plaintcp bug.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 31 Aug 2010 13:42:44 +0000
(15:42 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 31 Aug 2010 13:42:44 +0000
(15:42 +0200)
src/plaintcp.c
patch
|
blob
|
blame
|
history
diff --git
a/src/plaintcp.c
b/src/plaintcp.c
index
d1d5969
..
864efe1
100644
(file)
--- a/
src/plaintcp.c
+++ b/
src/plaintcp.c
@@
-186,6
+186,9
@@
void handleplain(int argc, char **argp, char **argv)
exit(1);
}
} else {
- mustart(listenloop, fd, port);
+ omalloc(tcp);
+ tcp->fd = fd;
+ tcp->sport = port;
+ mustart(listenloop, tcp);
}
}