Introduction
Introduction Statistics Contact Development Disclaimer Help
removed unused variables - fiche - A pastebin adjusted for gopher use
git clone git://vernunftzentrum.de/fiche.git
Log
Files
Refs
LICENSE
---
commit 1d425525a1cdc53210a94c1288ab580aab5fb1ab
parent c10d19e9d941373121cb6b420f0e57ee9e791756
Author: solusipse <[email protected]>
Date: Fri, 1 Nov 2013 11:03:17 +0100
removed unused variables
Diffstat:
fiche.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/fiche.c b/fiche.c
@@ -36,7 +36,7 @@ int main(int argc, char **argv)
startup_message();
- int listen_socket, address_lenght, optval = 1;
+ int listen_socket, optval = 1;
struct sockaddr_in server_address;
listen_socket = create_socket();
@@ -55,7 +55,6 @@ void *thread_connection(void *args)
struct client_data data = get_client_address(client_address);
- int n;
char buffer[BUFSIZE];
bzero(buffer, BUFSIZE);
int status = recv(connection_socket, buffer, BUFSIZE, MSG_WAITALL);
@@ -105,7 +104,6 @@ void *thread_connection(void *args)
void perform_connection(int listen_socket)
{
- void *status = 0;
pthread_t thread_id;
struct sockaddr_in client_address;
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.