...
|
...
|
@@ -1216,10 +1216,10 @@ chdir_tmp (const char *dbname, const char *tmpdir)
|
1216
|
1216
|
|
1217
|
1217
|
if (access (tmpdir, R_OK | W_OK) == -1)
|
1218
|
1218
|
{
|
1219
|
|
- snprintf (cvdfile, sizeof(cvdfile)-1, "%s.cvd", dbname);
|
|
1219
|
+ snprintf (cvdfile, sizeof(cvdfile), "%s.cvd", dbname);
|
1220
|
1220
|
if (access (cvdfile, R_OK) == -1)
|
1221
|
1221
|
{
|
1222
|
|
- snprintf (cvdfile, sizeof(cvdfile)-1, "%s.cld", dbname);
|
|
1222
|
+ snprintf (cvdfile, sizeof(cvdfile), "%s.cld", dbname);
|
1223
|
1223
|
if (access (cvdfile, R_OK) == -1)
|
1224
|
1224
|
{
|
1225
|
1225
|
logg ("!chdir_tmp: Can't access local %s database\n", dbname);
|