Commit c49666af authored by Niels Möller's avatar Niels Möller
Browse files

*** empty log message ***

Rev: src/io_commands.c:1.7
Rev: src/io_commands.h:1.4
parent 814958ad
......@@ -185,7 +185,7 @@ static int do_connect(struct io_backend *backend,
struct connect_fd *fd;
/* Address must specify a host */
assert(a->address);
assert(a->ip);
if (!address_info2sockaddr_in(&sin, a))
return COMMAND_RETURN(c, NULL);
......@@ -274,7 +274,7 @@ do_simple_log_peer(struct command_simple *s UNUSED,
CAST(listen_value, a, x);
verbose("Accepting connection from %S, port %i\n",
a->peer->address, a->peer->port);
a->peer->ip, a->peer->port);
return &a->fd->super.super.super;
}
......
......@@ -25,6 +25,7 @@
#ifndef LSH_IO_COMMANDS_H_INCLUDED
#define LSH_IO_COMMANDS_H_INCLUDED
#include "command.h"
#include "connection.h"
#include "io.h"
......
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