Skip to content
Snippets Groups Projects
Commit 1c22f3d8 authored by Dev Liste's avatar Dev Liste Committed by Jan-Tarek Butt
Browse files

Geolocator

So ich habe es mal schnell gelöst :D

https://git.nordwest.freifunk.net/ffnw-firmware/packages/merge_requests/7

oder auch als Patch für Tarek:

From 8e5e179421ec95b81c9b2f30c38370bce609df24 Mon Sep 17 00:00:00 2001
From: Johannes Rudolph <johannes.rudolph@gmx.com>
Date: Wed, 6 Apr 2016 23:28:48 +0200
Subject: [PATCH] if quality=0 return location error
parent b290ec25
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,11 @@ WLOC_EXT_API int get_position(const char *domain,const struct wloc_req *request,
tcp_closesocket(sock);
return WLOC_LOCATION_ERROR;
}
if (strstr(data,"quality=0"))
{
tcp_closesocket(sock);
return WLOC_LOCATION_ERROR;
}
pos=strstr(data,"quality=");
if (pos);
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment