author | Don Pellegrino <don@coffee.donpellegrino.com> | 2009-08-14 19:31:32 (GMT) |
---|---|---|
committer | Don Pellegrino <don@coffee.donpellegrino.com> | 2009-08-14 19:31:32 (GMT) |
commit | 81f7d7b39c19770c969fce610d9b1e14955abb98 (patch) (unidiff) | |
tree | 269e9662b9b2fbd1bd9879ad754775826eaee696 | |
parent | 59a60ef697d44284d89bc8a05990632bb2a56fb8 (diff) | |
download | exp005-81f7d7b39c19770c969fce610d9b1e14955abb98.zip exp005-81f7d7b39c19770c969fce610d9b1e14955abb98.tar.gz exp005-81f7d7b39c19770c969fce610d9b1e14955abb98.tar.bz2 |
Modified to match size of printed variable.
-rw-r--r-- | src/util/sqlinfoprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sqlinfoprint.c b/src/util/sqlinfoprint.c index 071b4c9..cc02784 100644 --- a/src/util/sqlinfoprint.c +++ b/src/util/sqlinfoprint.c | |||
@@ -33,7 +33,7 @@ sqlinfoprint (char *appMsg, struct sqlca *pSqlca, | |||
33 | strcat (sqlInfo, sqlInfoToken); | 33 | strcat (sqlInfo, sqlInfoToken); |
34 | sprintf (sqlInfoToken, " file = %s\n", file); | 34 | sprintf (sqlInfoToken, " file = %s\n", file); |
35 | strcat (sqlInfo, sqlInfoToken); | 35 | strcat (sqlInfo, sqlInfoToken); |
36 | sprintf (sqlInfoToken, " SQLCODE = %li\n", pSqlca->sqlcode); | 36 | sprintf (sqlInfoToken, " SQLCODE = %i\n", pSqlca->sqlcode); |
37 | strcat (sqlInfo, sqlInfoToken); | 37 | strcat (sqlInfo, sqlInfoToken); |
38 | /* get error message */ | 38 | /* get error message */ |
39 | rc = sqlaintp (errorMsg, 1024, 80, pSqlca); | 39 | rc = sqlaintp (errorMsg, 1024, 80, pSqlca); |