diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -511,7 +511,16 @@ int interactiveTest(int test, struct gen case 5: distrend_listen(geninfo->config, &clients); while(1) - distrend_accept(geninfo->config, clients); + { + distrend_accept(geninfo->config, clients); + /* + code for reading data from clients either goes here or in distrend_accept(). + it might make sense for us to just pass the distrend_accept() function a + callback which can handle packets or to have a generic packet handling + subsystem which gathers data into groups defined by by packet.h and then + passed onto the callback. + */ + } break; case 0: