Commit d26abc43 authored by celinemercier's avatar celinemercier

fixing an 'error' I had introduced to test the debugging system

parent 2162bf42
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment