readcf.c (80785) | readcf.c (82017) |
---|---|
1/* 2 * Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers. 3 * All rights reserved. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 5 * Copyright (c) 1988, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * By using this file, you agree to the terms and conditions set 9 * forth in the LICENSE file which can be found at the top level of 10 * the sendmail distribution. 11 * 12 */ 13 14#ifndef lint | 1/* 2 * Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers. 3 * All rights reserved. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 5 * Copyright (c) 1988, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * By using this file, you agree to the terms and conditions set 9 * forth in the LICENSE file which can be found at the top level of 10 * the sendmail distribution. 11 * 12 */ 13 14#ifndef lint |
15static char id[] = "@(#)$Id: readcf.c,v 8.382.4.42 2001/07/31 22:30:24 gshapiro Exp $"; | 15static char id[] = "@(#)$Id: readcf.c,v 8.382.4.43 2001/08/14 23:08:13 ca Exp $"; |
16#endif /* ! lint */ 17 18#include <sendmail.h> 19 20 21#if NETINET || NETINET6 22# include <arpa/inet.h> 23#endif /* NETINET || NETINET6 */ --- 238 unchanged lines hidden (view full) --- 262 } 263 rwp->r_line = LineNumber; 264 } 265 else 266 { 267 syserr("R line: null LHS"); 268 rwp->r_lhs = null_list; 269 } | 16#endif /* ! lint */ 17 18#include <sendmail.h> 19 20 21#if NETINET || NETINET6 22# include <arpa/inet.h> 23#endif /* NETINET || NETINET6 */ --- 238 unchanged lines hidden (view full) --- 262 } 263 rwp->r_line = LineNumber; 264 } 265 else 266 { 267 syserr("R line: null LHS"); 268 rwp->r_lhs = null_list; 269 } |
270 if (nfuzzy > MAXMATCH) 271 { 272 syserr("R line: too many wildcards"); 273 rwp->r_lhs = null_list; 274 } |
|
270 271 /* expand and save the RHS */ 272 while (*++p == '\t') 273 continue; 274 q = p; 275 while (*p != '\0' && *p != '\t') 276 p++; 277 *p = '\0'; --- 3414 unchanged lines hidden --- | 275 276 /* expand and save the RHS */ 277 while (*++p == '\t') 278 continue; 279 q = p; 280 while (*p != '\0' && *p != '\t') 281 p++; 282 *p = '\0'; --- 3414 unchanged lines hidden --- |