Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kssingvo
bidwatcher
bidwatcher-1.3.15-rating.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bidwatcher-1.3.15-rating.patch of Package bidwatcher
--- bidwatcher-1.3.15/helpers.cpp.orig 2004-04-23 22:23:28.000000000 +0200 +++ bidwatcher-1.3.15/helpers.cpp 2004-06-22 14:16:14.537862368 +0200 @@ -796,11 +796,14 @@ localTime += ebayOffset; int intTimeLeft = (endTime - localTime); int err; +#if 0 if (auc->isEndless) { err = sprintf(chTimeLeft, "Purchase Only"); return intTimeLeft; } - else if (intTimeLeft >= 172800) { + else +#endif + if (intTimeLeft >= 172800) { err = sprintf(chTimeLeft, "%d days, %d hrs", intTimeLeft / 86400, (intTimeLeft % 86400) / 3600); return intTimeLeft; @@ -1202,6 +1205,7 @@ else if (strstr(LineData,"Reserve met")) reserveMet = 'y'; + DPRINTF(DHIGH, ("Reserve: %c\n", reserveMet)); default:; } break; @@ -1328,6 +1332,12 @@ (!strcmp(HighBidder, "Dutch Auction")) || (!strcmp(HighBidder, "see Dutch high bidders")) || (!strcmp(HighBidder, "--"))) { + if (!HighBidder[0]) { + BidderRate[0]='\0'; + HighBidder[0] = '-'; + HighBidder[1] = '-'; + HighBidder[2] = '\0'; + } return TRUE; } else if (!strcmp(HighBidder, "User ID kept private")) { strcpy(HighBidder, "privat"); // it's nicer to have this text in log @@ -1345,7 +1355,7 @@ } } else { strcpy(HighBidder, "--"); - strcpy(BidderRate, "(0)"); + BidderRate[0]='\0'; } DPRINTF(DLOW, ("HighBidder: %s %s\n", HighBidder, BidderRate));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor