fixing an 'error' I had introduced to test the debugging system
This commit is contained in:
@ -128,7 +128,7 @@ static char *build_column_file_name(const char *column_name, obiversion_t versio
|
||||
char *filename;
|
||||
|
||||
// Build the database directory name
|
||||
if (asprintf(&filename,"%s@%d.odc", column_name, version_number) > 0)
|
||||
if (asprintf(&filename,"%s@%d.odc", column_name, version_number) < 0)
|
||||
{
|
||||
obi_set_errno(OBICOL_MEMORY_ERROR);
|
||||
obidebug(1, "\nasprintf() function failed");
|
||||
|
Reference in New Issue
Block a user