X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb_pg.c;h=8b89b7182115f296af3c37ca1bec7482c5a4d1a7;hb=ec10586ae774074490665d5baeef8488861904ee;hp=b424b7f9814fd4b170c7ccf0ec95f2ec50303506;hpb=ae384229c538b20b429ea640ec30071ae944c0e7;p=onak.git diff --git a/keydb_pg.c b/keydb_pg.c index b424b7f..8b89b71 100644 --- a/keydb_pg.c +++ b/keydb_pg.c @@ -5,7 +5,7 @@ * * Copyright 2002 Project Purple * - * $Id: keydb_pg.c,v 1.13 2003/09/30 20:40:11 noodles Exp $ + * $Id: keydb_pg.c,v 1.14 2004/03/23 12:33:47 noodles Exp $ */ #include @@ -60,7 +60,7 @@ static int keydb_putchar(void *fd, size_t count, unsigned char *c) * this file are called in order to allow the DB to be initialized ready * for access. */ -void initdb(void) +void initdb(bool readonly) { dbconn = PQsetdbLogin(config.pg_dbhost, // host NULL, // port