Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kssingvo
bidwatcher
bidwatcher-1.3.17-timesyncurl.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bidwatcher-1.3.17-timesyncurl.patch of Package bidwatcher
--- bidwatcher-1.3.17/bidwatcher.cpp.orig 2005-05-04 20:39:55.000000000 +0200 +++ bidwatcher-1.3.17/bidwatcher.cpp 2005-05-05 22:15:15.000000000 +0200 @@ -4771,7 +4771,7 @@ timesyncurl = NULL; } - timesyncurl = new URL("http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll?TimeShow", + timesyncurl = new URL("http://viv.ebay.com/ws/eBayISAPI.dll?EbayTime", "", proxyurl); } --- bidwatcher-1.3.17/helpers.cpp.orig 2007-08-09 14:22:21.000000000 +0200 +++ bidwatcher-1.3.17/helpers.cpp 2007-08-09 14:22:37.000000000 +0200 @@ -1934,7 +1934,7 @@ scratch = strtok(scratch, " "); if (scratch) scratch = strtok(0, " "); if (scratch) strcpy(chMonth, scratch); - scratch = strtok(0, " "); + scratch = strtok(0, ", "); if (scratch) strcpy(chDay, scratch); scratch = strtok(0, " "); if (scratch) strcpy(chYear, scratch); @@ -1956,17 +1956,17 @@ ebay_time.tm_sec = (((int(chSec[strlen(chSec) - 2])) - 48) * 10) + ((int(chSec[strlen(chSec) - 1])) - 48); ebay_time.tm_mday = atoi(chDay); - if (strcmp("Jan", chMonth) == 0) ebay_time.tm_mon = 0 ; - else if (strcmp("Feb", chMonth) == 0) ebay_time.tm_mon = 1; - else if (strcmp("Mar", chMonth) == 0) ebay_time.tm_mon = 2; - else if (strcmp("Apr", chMonth) == 0) ebay_time.tm_mon = 3; - else if (strcmp("May", chMonth) == 0) ebay_time.tm_mon = 4; - else if (strcmp("Jun", chMonth) == 0) ebay_time.tm_mon = 5; - else if (strcmp("Jul", chMonth) == 0) ebay_time.tm_mon = 6; - else if (strcmp("Aug", chMonth) == 0) ebay_time.tm_mon = 7; - else if (strcmp("Sep", chMonth) == 0) ebay_time.tm_mon = 8; - else if (strcmp("Oct", chMonth) == 0) ebay_time.tm_mon = 9; - else if (strcmp("Nov", chMonth) == 0) ebay_time.tm_mon = 10; + if (strncmp("Jan", chMonth, 3) == 0) ebay_time.tm_mon = 0 ; + else if (strncmp("Feb", chMonth, 3) == 0) ebay_time.tm_mon = 1; + else if (strncmp("Mar", chMonth, 3) == 0) ebay_time.tm_mon = 2; + else if (strncmp("Apr", chMonth, 3) == 0) ebay_time.tm_mon = 3; + else if (strncmp("May", chMonth, 3) == 0) ebay_time.tm_mon = 4; + else if (strncmp("Jun", chMonth, 3) == 0) ebay_time.tm_mon = 5; + else if (strncmp("Jul", chMonth, 3) == 0) ebay_time.tm_mon = 6; + else if (strncmp("Aug", chMonth, 3) == 0) ebay_time.tm_mon = 7; + else if (strncmp("Sep", chMonth, 3) == 0) ebay_time.tm_mon = 8; + else if (strncmp("Oct", chMonth, 3) == 0) ebay_time.tm_mon = 9; + else if (strncmp("Nov", chMonth, 3) == 0) ebay_time.tm_mon = 10; else ebay_time.tm_mon = 11; ebay_time.tm_year = atoi(chYear) - 1900;
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