Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:garloff
xtraceroute
xtraceroute-0.9.1-extprog.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xtraceroute-0.9.1-extprog.diff of Package xtraceroute
--- xtraceroute-0.9.1/extprog.c.orig 2003-03-25 01:21:46.000000000 +0100 +++ xtraceroute-0.9.1/extprog.c 2008-01-11 19:22:42.000000000 +0100 @@ -108,12 +108,17 @@ get_from_extDNS(site* site, int fd, GdkI /* Now skip all whitespace after that. */ while(is_whitespace(site->extpipe_data[i])) i++; + + if (!strncmp(&site->extpipe_data[i], "has no LOC", 10)) + goto escape; - if(!strncmp(&site->extpipe_data[i], "LOC", 3)) + if(!strncmp(&site->extpipe_data[i], "LOC", 3) || + !strncmp(&site->extpipe_data[i], "location", 8)) { float tmplat, tmplon; i += 3; - + if (site->extpipe_data[i] == 'a') + i += 5; /* Actually do something with the data. */ tmplat = locStrToNum(&site->extpipe_data[i], LATITUDE);
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