Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kssingvo
bidwatcher
bidwatcher-1.3.17-changes_20060726.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bidwatcher-1.3.17-changes_20060726.patch of Package bidwatcher
--- bidwatcher-1.3.17/helpers.cpp.orig 2006-07-26 10:40:08.000000000 +0200 +++ bidwatcher-1.3.17/helpers.cpp 2006-07-26 10:38:49.000000000 +0200 @@ -1476,9 +1476,11 @@ break; case 31: // ended if (!Ends[0]) { - streamBuff.getline(LineBuffer.buf(), LineBuffer.size(), '\n'); + char *p; + //streamBuff.getline(LineBuffer.buf(), LineBuffer.size(), '\n'); //DPRINTF(DLOW, ("LDE: %s\n", LineBuffer.buf())); - STRNZCPY(Ends, LineBuffer.buf()); + p=strchr(LineBuffer.buf(), ':')+1; + STRNZCPY(Ends, p); translate_date(Ends); EndsValue = CalcEndsValue(Ends); has_ended_flag = 1; @@ -1532,6 +1534,12 @@ p = strstr(Seller, "(private)"); if (p) *p='\0'; + /* remove trailing '(' in name, because its start of the ranking */ + p = Seller+strlen(Seller)-1; + if (*p == '(') { + *p = '\0'; + } + // Bidder Rate is typicaly in next line, but without leading '(' streamBuff.getline(LineBuffer.buf(), LineBuffer.size(), '\n'); if (LineBuffer.buf()[0] == '(' && !strchr(LineBuffer.buf(), ')')) @@ -1633,6 +1641,11 @@ /* strip only "(private)" away */ p = strstr(HighBidder, "(private)"); if (p) *p='\0'; + /* remove trailing '(' in name, because its start of the ranking */ + p = HighBidder+strlen(HighBidder)-1; + if (*p == '(') { + *p = '\0'; + } // Bidder Rate is typicaly in next line, but without leading '(' streamBuff.getline(LineBuffer.buf(), LineBuffer.size(), '\n');
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