Skip to content

Commit

Permalink
fix init of peer flags
Browse files Browse the repository at this point in the history
(remove hiding of ssl flag)
  • Loading branch information
reger committed Oct 24, 2015
1 parent ac034db commit e53c6bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/net/yacy/peers/Seed.java
Original file line number Diff line number Diff line change
Expand Up @@ -992,8 +992,12 @@ public final boolean getFlagSolrAvailable() {
return !my;
}

/**
* set unused flags to zero
* currently last used flag is FLAG_SSL_AVAILABLE=4 (2015-10-24)
*/
public final void setUnusedFlags() {
for ( int i = 4; i < 20; i++ ) {
for ( int i = 5; i < 20; i++ ) {
setFlag(i, false);
}
}
Expand Down

0 comments on commit e53c6bb

Please sign in to comment.