Menu

#28 correctly compare high bidder and seller with myself

closed-accepted
None
5
2003-05-02
2003-04-24
No

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.

Discussion

  • Kevin Dwyer

    Kevin Dwyer - 2003-05-02

    Logged In: YES
    user_id=285914

    ugh, yeah I hate strtok.

     
  • Kevin Dwyer

    Kevin Dwyer - 2003-05-02
    • assigned_to: nobody --> kevindication
     
  • Kevin Dwyer

    Kevin Dwyer - 2003-05-02

    Logged In: YES
    user_id=285914

    Sweet, good catch. Committed.

     
  • Kevin Dwyer

    Kevin Dwyer - 2003-05-02
    • status: open --> closed-accepted
     

Log in to post a comment.