mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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:
commit
2f5118d33b
1 changed files with 2 additions and 2 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Reference in a new issue