]> err.no Git - yubikey-server-c/commitdiff
Hard code port for now
authorTollef Fog Heen <tfheen@err.no>
Fri, 18 Sep 2009 16:45:12 +0000 (18:45 +0200)
committerTollef Fog Heen <tfheen@err.no>
Fri, 18 Sep 2009 16:45:12 +0000 (18:45 +0200)
src/main.c

index 87a1f66826f7883cd19ad299bce34fddf1d3c374..3ed235f3ad3785b000b4b0d9e0ba135fc7d404bc 100644 (file)
@@ -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));