This commit was generated by cvs2svn to compensate for changes in r59901,

which included commits to RCS files with non-trunk default branches.
This commit is contained in:
David E. O'Brien 2000-05-02 20:00:07 +00:00
commit 2f5118d33b

View file

@ -222,7 +222,7 @@ tprintf(what, buf, fmt, siz, str, tim, info)
fmthist('R', info, (char *) (cz = cbuff), sizeof(cbuff));
else
cz = (unsigned char *) str;
if (str != NULL)
if (cz != NULL)
for (; *cz; *p++ = attributes | *cz++)
if (p >= ep) break;
break;
@ -477,7 +477,7 @@ tprintf(what, buf, fmt, siz, str, tim, info)
case 'w':
if (p >= ep - 5) break;
for (cz = (unsigned char *) month_list[t->tm_mon]; *cz;
*p++ = attributes | *cz++);
*p++ = attributes | *cz++)
if (p >= ep) break;
break;
case 'W':