Skip to content
Snippets Groups Projects
Commit 369ccdef authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Oops, buffer wasn't long enough for query

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 18866623
No related branches found
No related tags found
No related merge requests found
......@@ -455,7 +455,7 @@ static int config_module(int reload)
conn = PQsetdbLogin(pghostname, pgdbport, NULL, NULL, pgdbname, pgdbuser, pgpassword);
if (PQstatus(conn) != CONNECTION_BAD) {
char sqlcmd[256];
char sqlcmd[512];
char *fname, *ftype, *flen, *fnotnull, *fdef;
int i, rows;
ast_debug(1, "Successfully connected to PostgreSQL database.\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment