diff options
-rw-r--r-- | source3/passdb/pdb_pgsql.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/passdb/pdb_pgsql.c b/source3/passdb/pdb_pgsql.c index e603bd6a53..fbafd70cb6 100644 --- a/source3/passdb/pdb_pgsql.c +++ b/source3/passdb/pdb_pgsql.c @@ -39,7 +39,7 @@ typedef struct pdb_pgsql_data { const char *port ; const char *user ; const char *pass ; - + const char *location ; } pdb_pgsql_data ; @@ -59,9 +59,10 @@ struct pdb_context *the_pdb_context; DEBUG(0, ("invalid methods!\n")); \ return ; \ } \ - data = (struct pdb_pgsql_data *)methods->private_data;\ + data = (struct pdb_pgsql_data *)methods->private_data; \ } + #define config_value( data, name, default_value ) \ lp_parm_const_string( GLOBAL_SECTION_SNUM, (data)->location, name, default_value ) |