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