Commit 5d4deaf0 5d4deaf0304d365c92d787fe51bf2826baf080da by Sergey Poznyakoff

argcv_unescape_char renamed to argcv_unquote_char

1 parent f9b47847
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -198,7 +198,7 @@ expand_line (const char *str, message_t msg)
p++;
if (*p)
{
c = argcv_unescape_char (*p);
c = argcv_unquote_char (*p);
obstack_1grow (&stk, c);
}
break;
......
%{
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005
Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
......@@ -728,7 +729,7 @@ str_unescape (char *text, size_t len)
{
char *str = sieve_alloc (len);
memcpy (str, text, len - 2);
str[len - 2] = argcv_unescape_char (text[len - 1]);
str[len - 2] = argcv_unquote_char (text[len - 1]);
str[len - 1] = 0;
return str;
}
......