Cosmetic changes (misleading var name).

This commit is contained in:
Ralph Lange
2004-05-28 11:00:25 +00:00
parent ae5c8365d2
commit 2cdb8d2cbb
4 changed files with 7 additions and 7 deletions

View File

@@ -126,7 +126,7 @@ int camonitor (pv *pvs, int nPvs, unsigned long reqElems)
dbrType = dbf_type_to_DBR_TIME(pvs[n].dbfType); /* Use native type */
if (dbr_type_is_ENUM(dbrType)) /* Enums honour -n option */
{
if (charAsNr) dbrType = DBR_TIME_INT;
if (enumAsNr) dbrType = DBR_TIME_INT;
else dbrType = DBR_TIME_STRING;
}
/* Adjust array count */
@@ -204,7 +204,7 @@ int main (int argc, char *argv[])
usage();
return 0;
case 'n': /* Print ENUM as index numbers */
charAsNr=1;
enumAsNr=1;
break;
case 'r': /* Select relative timestamps */
tsType = relative;