cmd1.c (1591) | cmd1.c (29574) |
---|---|
1/*- 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 138 unchanged lines hidden (view full) --- 147 * in the passed message list. 148 */ 149int 150from(msgvec) 151 int *msgvec; 152{ 153 register int *ip; 154 | 1/*- 2 * Copyright (c) 1980, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 138 unchanged lines hidden (view full) --- 147 * in the passed message list. 148 */ 149int 150from(msgvec) 151 int *msgvec; 152{ 153 register int *ip; 154 |
155 for (ip = msgvec; *ip != NULL; ip++) | 155 for (ip = msgvec; *ip != 0; ip++) |
156 printhead(*ip); 157 if (--ip >= msgvec) 158 dot = &message[*ip - 1]; 159 return(0); 160} 161 162/* 163 * Print out the header of a specific message. --- 288 unchanged lines hidden --- | 156 printhead(*ip); 157 if (--ip >= msgvec) 158 dot = &message[*ip - 1]; 159 return(0); 160} 161 162/* 163 * Print out the header of a specific message. --- 288 unchanged lines hidden --- |