use macro instead of magic value
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user