Skip to content

Commit

Permalink
director: Fix crash when using director_flush_socket
Browse files Browse the repository at this point in the history
Broken accidentally when merging b44033e
  • Loading branch information
sirainen committed Dec 16, 2016
1 parent 6460420 commit 08b70fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/director/director.c
Expand Up @@ -720,8 +720,6 @@ director_flush_user_continue(int result, struct director_kill_context *ctx)

struct user *user = user_directory_lookup(ctx->tag->users,
ctx->username_hash);
if (user != NULL)
director_user_kill_finish_delayed(dir, user,result == 1);

if (result == 0) {
struct istream *is = iostream_temp_finish(&ctx->reply, (size_t)-1);
Expand Down

0 comments on commit 08b70fe

Please sign in to comment.