Skip to content

Commit

Permalink
Fix obfuscation without --keep-length
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Mar 4, 2012
1 parent 72db37e commit beb3b36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dustmite.d
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,8 @@ void obfuscate(bool keepLength)
}
else
{
static int index;
index++;
static int n;
int index = n++;

string result;
result ~= first[index % $];
Expand Down

0 comments on commit beb3b36

Please sign in to comment.