Re: [Mixmaster-devel] Re: [Remops] destblocks aren't working
Brought to you by:
weaselp
From: <ul...@fi...> - 2002-01-25 21:37:17
|
On Thu, Jan 24, 2002 at 07:27:33PM +0100, Peter Palfrader wrote: > - if (strchr(line->data, '@') && strchr(strchr(line->data, '@'), '.')) { > + if (strchr(line->data, '@')) { > strcpy( destblklst, DESTBLOCK ); > destblk = strtok( destblklst, " " ); > f = mix_openfile( destblk, "a" ); > > This should fix it. I have not tested it tho. But the current code uses substring matching, and that's probably going to be a problem if you allow people to block truncated addresses |