aboutsummaryrefslogtreecommitdiff
path: root/libplanfahr
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-12-15 18:15:04 +0100
committerGuido Günther <agx@sigxcpu.org>2014-12-15 18:15:53 +0100
commit9ed5d397f8eb14d4b6c9a870a54756516dc5cd47 (patch)
treebc3d280de577e27e767fb8eba00190fe8935cbc3 /libplanfahr
parenta12b5429b36a0b6a1370e5f5e9b68a92b7853895 (diff)
Adjust to db API change
Other hafas providers seem to correctly ignore this parameter Fix taken from public-transport-enabler
Diffstat (limited to 'libplanfahr')
-rw-r--r--libplanfahr/providers/hafas-bin6.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libplanfahr/providers/hafas-bin6.c b/libplanfahr/providers/hafas-bin6.c
index d07752c..4649a6a 100644
--- a/libplanfahr/providers/hafas-bin6.c
+++ b/libplanfahr/providers/hafas-bin6.c
@@ -708,7 +708,9 @@ lpf_provider_hafas_bin6_get_trips (LpfProvider *self,
"REQ0JourneyTime", timestr,
"REQ0HafasSearchForw", by_departure,
"REQ0JourneyProduct_prod_list_1", train_restriction,
- "h2g-direct", "11", NULL);
+ "h2g-direct", "11",
+ "clientType", "ANDROID",
+ NULL);
LPF_DEBUG ("URI: %s", soup_uri_to_string (uri, FALSE));