projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c48f18f
)
Make "/:y" and abbreviation for "/subject:y".
author
Dave A. Borman
<dab@ucbvax.Berkeley.EDU>
Mon, 1 May 1995 21:37:49 +0000
(13:37 -0800)
committer
Dave A. Borman
<dab@ucbvax.Berkeley.EDU>
Mon, 1 May 1995 21:37:49 +0000
(13:37 -0800)
SCCS-vsn: usr.bin/mail/list.c 8.4
usr/src/usr.bin/mail/list.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/usr.bin/mail/list.c
b/usr/src/usr.bin/mail/list.c
index
ed07024
..
8043cdb
100644
(file)
--- a/
usr/src/usr.bin/mail/list.c
+++ b/
usr/src/usr.bin/mail/list.c
@@
-718,7
+718,7
@@
matchsubj(str, mesg)
str[2] == ':')
return(matchto(cp, mesg));
*cp++ = '\0';
str[2] == ':')
return(matchto(cp, mesg));
*cp++ = '\0';
- cp2 = hfield(
str
, mp);
+ cp2 = hfield(
*str ? str : "subject"
, mp);
cp[-1] = ':';
str = cp;
} else {
cp[-1] = ':';
str = cp;
} else {