Skip to content

Commit

Permalink
Merge branch 'tbamud:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
prool authored Dec 30, 2024
2 parents fc3426e + d3227f1 commit 29b4faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/comm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@ static int process_output(struct descriptor_data *t)
result = write_to_descriptor(t->descriptor, osb);

if (result < 0) { /* Oops, fatal error. Bye! */
close_socket(t);
// close_socket(t); // close_socket is called after return of negative result
return (-1);
} else if (result == 0) /* Socket buffer full. Try later. */
return (0);
Expand Down

0 comments on commit 29b4faf

Please sign in to comment.