Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kssingvo
bidwatcher
bidwatcher-1.3.17-counter.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bidwatcher-1.3.17-counter.patch of Package bidwatcher
--- bidwatcher-1.3.17/helpers.cpp.orig 2006-11-22 21:20:48.000000000 +0100 +++ bidwatcher-1.3.17/helpers.cpp 2006-11-22 21:24:34.000000000 +0100 @@ -1323,8 +1323,18 @@ //printf("LD:%s:%i\n", LineBuffer.buf(), strlen(LineBuffer.buf())); switch (auc_type) { - case TYPE_EBAYMOTORS: //non-car auctions are the same case TYPE_EBAY: + if (matchedPhrase > 0) { + char fileName[200]; + FILE *file; + sprintf(fileName, "%s/%s/counter.txt", getenv("HOME"), bw_subdir); + file = fopen(fileName, "a"); + if (file) { + fprintf(file, "%d\n", matchedPhrase); + fclose(file); + } + } + case TYPE_EBAYMOTORS: //non-car auctions are the same switch (matchedPhrase) { case 33: // shipping + handling getShipHandling33(streamBuff, LineBuffer.buf(), LineBuffer.size(), Shipping, ShippingCur, sizeof(Shipping) / sizeof(Shipping[0]));
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