diff --git a/server/modules/routing/binlog/blr_file.c b/server/modules/routing/binlog/blr_file.c index 535b3f02c..4cb7eab18 100644 --- a/server/modules/routing/binlog/blr_file.c +++ b/server/modules/routing/binlog/blr_file.c @@ -445,9 +445,8 @@ struct stat statb; "end of the latest binlog file '%s', size %lu. Disconnecting", pos, file->binlogname, filelen); - /* Slave will be disconnected by the calling routine */ - hdr->ok = SLAVE_POS_BEYOND_EOF; - } + /* Slave will be disconnected by the calling routine */ + hdr->ok = SLAVE_POS_BEYOND_EOF; }