2 * Copyright (c) 2001 Proofpoint, Inc. and its suppliers.
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.
12 SM_RCSID("@(#)$Id: string.c,v 1.4 2013-11-22 20:51:43 ca Exp $")
17 #include <sm/string.h>
20 ** STRIPQUOTES -- Strip quotes & quote bits from a string.
22 ** Runs through a string and strips off unquoted quote
23 ** characters and quote bits. This is done in place.
26 ** s -- the string to strip.
59 ** UNFOLDSTRIPQUOTES -- Strip quotes & quote bits from a string.
62 ** s -- the string to strip.
81 if (c == '\\' || c == '\n')