aboutsummaryrefslogtreecommitdiff
path: root/dbfp_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbfp_check.c')
-rw-r--r--dbfp_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbfp_check.c b/dbfp_check.c
index b17945b..a5ec7f7 100644
--- a/dbfp_check.c
+++ b/dbfp_check.c
@@ -104,14 +104,14 @@ START_TEST(test_dbfp_departure_simple)
err = dbfp_init(&dbfp, api_key);
ck_assert_int_eq(err, 0);
- err = dbfp_query_departure(&dbfp, NULL, "8000105", 0, &n, &departures);
+ err = dbfp_query_departure(&dbfp, "8000105", 0, &n, &departures);
ck_assert_int_eq(err, 0);
ck_assert_int_gt(n, 0);
for (i = 0; i < n; i++)
dbfp_departure_close(&departures[i]);
free(departures);
- err = dbfp_query_departure(&dbfp, NULL, "8000105", time, &n,
+ err = dbfp_query_departure(&dbfp, "8000105", time, &n,
&departures);
ck_assert_int_eq(err, 0);
tm.tm_hour++;