Skip to content
Browse files

Fixed:tcp listener error and trivial fix

  • Loading branch information...
1 parent b654f05 commit 47c0ef68d24d57a1adcc81b2a0ef9cf9013450db @seinocluster2 seinocluster2 committed May 28, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/main.c
  2. +1 −1 src/transport.c
View
2 src/main.c
@@ -611,7 +611,7 @@ static int do_command(cmd_request_t cmd)
}
if (reply.result == BOOTHC_RLT_OVERGRANT) {
- log_info("You're granting a granted ticket"
+ log_info("You're granting a granted ticket "
"If you wanted to migrate a ticket,"
"use revoke first, then use grant");
rv = -1;
View
2 src/transport.c
@@ -257,7 +257,7 @@ static void process_dead(int ci)
static void process_tcp_listener(int ci)
{
int fd, i, one = 1;
- socklen_t addrlen;
+ socklen_t addrlen = sizeof(struct sockaddr);
struct sockaddr addr;
struct tcp_conn *conn;

0 comments on commit 47c0ef6

Please sign in to comment.
Something went wrong with that request. Please try again.