smfi.c (266527) | smfi.c (285229) |
---|---|
1/* 2 * Copyright (c) 1999-2007 Proofpoint, Inc. and its suppliers. 3 * All rights reserved. 4 * 5 * By using this file, you agree to the terms and conditions set 6 * forth in the LICENSE file which can be found at the top level of 7 * the sendmail distribution. 8 * --- 311 unchanged lines hidden (view full) --- 320int 321smfi_setsymlist(ctx, where, macros) 322 SMFICTX *ctx; 323 int where; 324 char *macros; 325{ 326 SM_ASSERT(ctx != NULL); 327 | 1/* 2 * Copyright (c) 1999-2007 Proofpoint, Inc. and its suppliers. 3 * All rights reserved. 4 * 5 * By using this file, you agree to the terms and conditions set 6 * forth in the LICENSE file which can be found at the top level of 7 * the sendmail distribution. 8 * --- 311 unchanged lines hidden (view full) --- 320int 321smfi_setsymlist(ctx, where, macros) 322 SMFICTX *ctx; 323 int where; 324 char *macros; 325{ 326 SM_ASSERT(ctx != NULL); 327 |
328 if (macros == NULL || *macros == '\0') | 328 if (macros == NULL) |
329 return MI_FAILURE; 330 if (where < SMFIM_FIRST || where > SMFIM_LAST) 331 return MI_FAILURE; 332 if (where < 0 || where >= MAX_MACROS_ENTRIES) 333 return MI_FAILURE; 334 335 if (ctx->ctx_mac_list[where] != NULL) 336 return MI_FAILURE; --- 553 unchanged lines hidden --- | 329 return MI_FAILURE; 330 if (where < SMFIM_FIRST || where > SMFIM_LAST) 331 return MI_FAILURE; 332 if (where < 0 || where >= MAX_MACROS_ENTRIES) 333 return MI_FAILURE; 334 335 if (ctx->ctx_mac_list[where] != NULL) 336 return MI_FAILURE; --- 553 unchanged lines hidden --- |