diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-09-18 14:08:40 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1997-09-18 14:08:40 +0000 |
| commit | d030d2d2aee170303ffb5eed3183616ef7ddfbb4 (patch) | |
| tree | 1ff40baf2bdd10f9e8275383efc4508d3e4dd2ad /usr.bin/mail/cmd3.c | |
| parent | 06bba905d06c4ca139b00432a8c86b2db9aeb5d8 (diff) | |
Notes
Diffstat (limited to 'usr.bin/mail/cmd3.c')
| -rw-r--r-- | usr.bin/mail/cmd3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mail/cmd3.c b/usr.bin/mail/cmd3.c index 54a5d5e27112..bb0c1e55135d 100644 --- a/usr.bin/mail/cmd3.c +++ b/usr.bin/mail/cmd3.c @@ -293,7 +293,7 @@ preserve(msgvec) printf("Cannot \"preserve\" in edit mode\n"); return(1); } - for (ip = msgvec; *ip != NULL; ip++) { + for (ip = msgvec; *ip != 0; ip++) { mesg = *ip; mp = &message[mesg-1]; mp->m_flag |= MPRESERVE; @@ -312,7 +312,7 @@ unread(msgvec) { register int *ip; - for (ip = msgvec; *ip != NULL; ip++) { + for (ip = msgvec; *ip != 0; ip++) { dot = &message[*ip-1]; dot->m_flag &= ~(MREAD|MTOUCH); dot->m_flag |= MSTATUS; @@ -330,7 +330,7 @@ messize(msgvec) register struct message *mp; register int *ip, mesg; - for (ip = msgvec; *ip != NULL; ip++) { + for (ip = msgvec; *ip != 0; ip++) { mesg = *ip; mp = &message[mesg-1]; printf("%d: %d/%ld\n", mesg, mp->m_lines, mp->m_size); |
