X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2FClientSocket.c;h=52316fd3d8f3d7a0a65cb687058b5dc794fe4152;hp=a1a5726a567eef6c33ad81e043010276e1329c16;hb=05c8f77dd9d441e588b8a3ec2547bb1874ac0914;hpb=bf4c444501fcf16569b9383a8c046f2ab8018f42 diff --git a/src/ClientSocket.c b/src/ClientSocket.c index a1a5726..52316fd 100644 --- a/src/ClientSocket.c +++ b/src/ClientSocket.c @@ -217,7 +217,9 @@ int clientsocket_parseorder_top(unsigned int tid) { static IOHANDLER_CALLBACK(socket_callback) { struct ClientSocket *client = event->iofd->data; + #ifdef HAVE_THREADS unsigned int tid; + #endif switch(event->type) { case IOEVENT_CONNECTED: client->flags |= SOCKET_FLAG_CONNECTED;