GC_WANT_HTTP, not GC_HAVE_HTTP

.. in RideDB.y conditional.
This commit is contained in:
Mark Liversedge
2015-09-08 11:43:28 +01:00
parent 4994a59b49
commit c19b57ee98

View File

@@ -76,7 +76,7 @@ ride: '{' rideelement_list '}' {
// if the performance is too slow we can move to
// a binary search, but suspect this ok < 10000 rides
if (jc->api != NULL) {
#ifdef GC_HAVE_HTTP
#ifdef GC_WANT_HTTP
// we're listing rides in the api
jc->api->writeRideLine(jc->wanted, jc->item, jc->request, jc->response);
#endif