Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kssingvo
bidwatcher
bidwatcher-1.3.17-changes_20060323.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bidwatcher-1.3.17-changes_20060323.patch of Package bidwatcher
--- bidwatcher-1.3.17/helpers.cpp.orig 2006-03-23 17:39:16.000000000 +0100 +++ bidwatcher-1.3.17/helpers.cpp 2006-03-23 17:38:55.000000000 +0100 @@ -1420,14 +1420,20 @@ break; case 7: // location if (!Location[0]) { - streamBuff.getline(LineBuffer.buf(), LineBuffer.size(), '\n'); - STRNZCPY(Location, LineBuffer.buf()); - // Dutch Auctions - if (Quantity > 1 ) { - strcpy(HighBidder, "Dutch Auction"); - strcpy(BidderRate, ""); - dutch_flag=1; - } + char *p; + if (!strchr(LineBuffer.buf(), ',')) { + streamBuff.getline(LineBuffer.buf(), LineBuffer.size(), '\n'); + p = LineBuffer.buf(); + } else { + p = strchr(LineBuffer.buf(), ':') + 1; + } + STRNZCPY(Location, p); + // Dutch Auctions + if (Quantity > 1 ) { + strcpy(HighBidder, "Dutch Auction"); + strcpy(BidderRate, ""); + dutch_flag=1; + } } break; case 8: // time started @@ -1435,7 +1441,6 @@ streamBuff.getline(LineBuffer.buf(), LineBuffer.size(), '\n'); STRNZCPY(Started, LineBuffer.buf()); translate_date(Started); - } break; case 9: // time ending
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