It is initialized in handle_connect() but never used.
unsigned char challenge_hash[HASH_SIZE];
char *command = NULL, *buf = para_malloc(HANDSHAKE_BUFSIZE) /* must be on the heap */;
size_t numbytes;
- struct command_context cc_struct = {.peer = peername}, *cc = &cc_struct;
+ struct command_context cc_struct = {.u = NULL}, *cc = &cc_struct;
struct iovec iov;
struct connection_features cf;
/** Per connection data available to command handlers. */
struct command_context {
- /** Network address of the peer. */
- const char *peer;
/** The paraslash user that executes this command. */
struct user *u;
/** File descriptor and crypto keys. */