X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fplaintcp.c;h=864efe1598c2f2585043855b820cee708adfcdf5;hb=41fe6c390c31ccb7f70d26a13418bd772fc7b5e4;hp=d1d596962b61182298047b4e9c12eb99df3c9257;hpb=46e6630278db9fb3b7aa7150d28fcd90993a5cc9;p=ashd.git diff --git a/src/plaintcp.c b/src/plaintcp.c index d1d5969..864efe1 100644 --- 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); } }