Projects/psql-admtools
Projects
/
psql-admtools
Archived
13
0
Fork 0

Set encoding to NULL when starting.

Submitted by: eirikald
This commit is contained in:
Øystein Ingmar Skartsæterhagen 2010-05-11 14:20:10 +00:00
parent 92ee5e44e1
commit 31db1ad3ae
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ main(int argc, char **argv)
int action = 0, c; int action = 0, c;
char *dbname = NULL, *owner = NULL; char *dbname = NULL, *owner = NULL;
char _dbname[1024], _owner[1024]; char _dbname[1024], _owner[1024];
char *encoding, _encoding[1024]; char *encoding = NULL, _encoding[1024];
while ((c = getopt(argc, argv, "hadlu:o:E:")) != -1) { while ((c = getopt(argc, argv, "hadlu:o:E:")) != -1) {
switch (c) { switch (c) {