use macro instead of magic value

This commit is contained in:
2018-09-12 09:48:55 +02:00
parent b1f4c2a7d9
commit 53ea75dc80

View File

@ -831,7 +831,7 @@ initRecord(const char* filename, const char* protocol,
return ERROR; return ERROR;
} }
debug("Stream::initRecord %s: initialized. %s\n", debug("Stream::initRecord %s: initialized. %s\n",
name(), convert==2 ? name(), convert == DO_NOT_CONVERT ?
"convert" : "don't convert"); "convert" : "don't convert");
return convert; return convert;
} }
@ -855,7 +855,7 @@ process()
return false; return false;
} }
debug("Stream::process(%s) ready. %s\n", debug("Stream::process(%s) ready. %s\n",
name(), convert==2 ? name(), convert == DO_NOT_CONVERT ?
"convert" : "don't convert"); "convert" : "don't convert");
return true; return true;
} }