jkf's fix to include '@' as non local msgs indicator
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sat, 30 Oct 1982 08:07:01 +0000 (00:07 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sat, 30 Oct 1982 08:07:01 +0000 (00:07 -0800)
SCCS-vsn: usr.bin/msgs/msgs.c 4.3

usr/src/usr.bin/msgs/msgs.c

index c55cb91..6071267 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)msgs.c     4.2 %G%";
+static char sccsid[] = "@(#)msgs.c     4.3 %G%";
 #endif lint
 /*
  * msgs - a user bulletin board program
 #endif lint
 /*
  * msgs - a user bulletin board program
@@ -699,7 +699,7 @@ FILE *infile;
                        ptr = from;
                        in = nxtfld(inbuf);
                        if (*in) while (*in && *in > ' ') {
                        ptr = from;
                        in = nxtfld(inbuf);
                        if (*in) while (*in && *in > ' ') {
-                               if (*in == ':')
+                               if (*in == ':' || *in == '@')
                                        local = NO;
                                *ptr++ = *in++;
                                /* what about sizeof from ? */
                                        local = NO;
                                *ptr++ = *in++;
                                /* what about sizeof from ? */