Skip to content

Commit

Permalink
Update xkcp_mon.c
Browse files Browse the repository at this point in the history
  • Loading branch information
liudf0716 authored Apr 17, 2017
1 parent 2dab245 commit 628078e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xkcp_mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static void xkcp_mon_read_cb(struct bufferevent *bev, void *ctx)
char *buf = malloc(len+1);
memset(buf, 0, len+1);
if (evbuffer_remove(input, buf, len) > 0)
process_user_cmd(buf);
process_user_cmd(bev, buf);
}
}

Expand Down

0 comments on commit 628078e

Please sign in to comment.