Remove unnecessary parentheses from sizeof, apply sizeof to variables instead of types whereever possible.
This commit is contained in:
parent
a9bdfb424e
commit
636200d1a2
19 changed files with 78 additions and 78 deletions
|
|
@ -203,7 +203,7 @@ static void timeout_handler(int fd, short events, void *event) {
|
|||
void handle_meta_connection_data(int fd, short events, void *data) {
|
||||
connection_t *c = data;
|
||||
int result;
|
||||
socklen_t len = sizeof(result);
|
||||
socklen_t len = sizeof result;
|
||||
|
||||
if(c->status.connecting) {
|
||||
c->status.connecting = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue