Branch: Tag:

2004-01-01

2004-01-01 11:30:15 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

bugfix in str2arr (all zeroes was treated as all bits)

Rev: lib/modules/Protocols.pmod/Bittorrent.pmod/Bencoding.pmod:1.4

136:    array w=indices(v);    sort(v,w);    int i=search(v,1); +  if (i==-1) return last2arrarr=({});    return last2arrarr=w[i..];   }      static private string last2arrbits=0;   static private array(int) last2arrarr=0;