HI,
recently, I noticed that bidwatcher doesn't realize when
it was me who won an auction, although there's code to
compare my authID with auc->HighBidder (and auc-
>Seller), and there are supposed to be LEDs (other than
black) to display it.
This patch fixes that, by removing the bracket with the
number of feedbacks from the eBay user name.
"ebayuser(123)" -> "ebayuser"
Now I actually get green LEDs for the auctions I've won,
regardless of whether bidwatcher did it for me or I by
myself. :-)
Greetings,
Moritz
P.S.: I wanted to hack the strcmp() comparisons to
something using strtok(), but that got out of hand...
P.P.S.: BTW, to be safe, I believe those "HighBidder[75]
= '\0';" statements should replace the "75" with "sizeof
(HighBidder) -1" (same for other vars) in case the vars
ever get resized.
patch to fix parsing and recognition of seller and high bidder names
Logged In: YES
user_id=285914
ugh, yeah I hate strtok.
Logged In: YES
user_id=285914
Sweet, good catch. Committed.