Commit a247833a authored by oharboe's avatar oharboe
Browse files

Michael Bruck <> signed/unsigned incompatibility warning

git-svn-id: svn:// b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 0ebf92b4
......@@ -58,7 +58,7 @@ int server_use_pipes = 0;
int add_connection(service_t *service, command_context_t *cmd_ctx)
unsigned int address_size;
socklen_t address_size;
connection_t *c, **p;
int retval;
int flag=1;
......@@ -422,7 +422,7 @@ int server_loop(command_context_t *command_context)
if (service->type != CONNECTION_PIPE)
struct sockaddr_in sin;
unsigned int address_size = sizeof(sin);
socklen_t address_size = sizeof(sin);
int tmp_fd;
tmp_fd = accept(service->fd, (struct sockaddr *)&service->sin, &address_size);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment