=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/newsyslog/newsyslog.c,v retrieving revision 1.83 retrieving revision 1.84 diff -c -r1.83 -r1.84 *** src/usr.bin/newsyslog/newsyslog.c 2006/12/11 20:50:54 1.83 --- src/usr.bin/newsyslog/newsyslog.c 2007/03/20 03:50:39 1.84 *************** *** 1,4 **** ! /* $OpenBSD: newsyslog.c,v 1.83 2006/12/11 20:50:54 deraadt Exp $ */ /* * Copyright (c) 1999, 2002, 2003 Todd C. Miller --- 1,4 ---- ! /* $OpenBSD: newsyslog.c,v 1.84 2007/03/20 03:50:39 tedu Exp $ */ /* * Copyright (c) 1999, 2002, 2003 Todd C. Miller *************** *** 72,78 **** */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: newsyslog.c,v 1.83 2006/12/11 20:50:54 deraadt Exp $"; #endif /* not lint */ #ifndef CONF --- 72,78 ---- */ #ifndef lint ! static const char rcsid[] = "$OpenBSD: newsyslog.c,v 1.84 2007/03/20 03:50:39 tedu Exp $"; #endif /* not lint */ #ifndef CONF *************** *** 938,944 **** char * sob(char *p) { ! while (p && *p && isspace(*p)) p++; return (p); } --- 938,946 ---- char * sob(char *p) { ! if (p == NULL) ! return(p); ! while (isspace(*p)) p++; return (p); }