# HG changeset patch # User ethanzonca # Date 2009-09-26 02:29:42 # Node ID 1a741361737a799c90814ecb4f0f3ff1bd4c28b3 # Parent 485f1d607c6522f8794ff9110cf92b0dd9bd71cd Minor fix diff --git a/src/server/distrend.c b/src/server/distrend.c --- a/src/server/distrend.c +++ b/src/server/distrend.c @@ -482,7 +482,7 @@ int main(int argc, char *argv[]) while(cont) { struct distren_action *action; - int clientsays; /*< temporary example variable, will be replaced when we can handle messages */ + int clientsays = 0; /*< temporary example variable, will be replaced when we can handle messages */ distrend_accept(&action); cont = distrend_do(action); @@ -507,7 +507,6 @@ int main(int argc, char *argv[]) /* returnnum == 0 */ remotio_send_to_client(frame->num, job->jobnum); // Pseudo-sends data to client } - int clientsays = 0; // @TODO: kill me /* If the client states that they finished the frame */ if(clientsays == DISTREN_REQUEST_DONEFRAME){ clientstatus = CLIENTSTATUS_IDLE; // Sets the client back to idle