From e8fba1e1b5f390a7cf9aef347d6570fbe2adc95a Mon Sep 17 00:00:00 2001 From: Paul Reeves Date: Mon, 17 Aug 2020 17:02:09 +0200 Subject: [PATCH] Be sure to attach via localhost so that the example actually works --- examples/api/api16t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/api/api16t.c b/examples/api/api16t.c index 9b9114b4f5..e7e3dcb044 100644 --- a/examples/api/api16t.c +++ b/examples/api/api16t.c @@ -57,7 +57,7 @@ int main (int argc, char** argv) if (argc > 1) strcpy(empdb, argv[1]); else - strcpy(empdb, "employee.fdb"); + strcpy(empdb, "localhost:employee.fdb"); if (isc_attach_database(status, 0, empdb, &DB, 0, NULL)) {