From: Tollef Fog Heen Date: Fri, 18 Sep 2009 16:45:12 +0000 (+0200) Subject: Hard code port for now X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72f2588ceb30f4d2eb82c16347e01754b72ca9f4;p=yubikey-server-c Hard code port for now --- diff --git a/src/main.c b/src/main.c index 87a1f66..3ed235f 100644 --- a/src/main.c +++ b/src/main.c @@ -80,7 +80,7 @@ int main(int argc, char **argv) { struct MHD_Daemon *d; - db_conn = PQconnectdb("dbname=yubikey"); + db_conn = PQconnectdb("dbname=yubikey port=5433"); if (PQstatus(db_conn) != CONNECTION_OK) { fprintf(stderr, "Connection to database failed: %s", PQerrorMessage(db_conn));