argcv_unescape_char renamed to argcv_unquote_char
Showing
2 changed files
with
5 additions
and
4 deletions
1 | /* GNU Mailutils -- a suite of utilities for electronic mail | 1 | /* GNU Mailutils -- a suite of utilities for electronic mail |
2 | Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. | 2 | Copyright (C) 1999, 2000, 2001, 2002, 2005 Free Software Foundation, Inc. |
3 | 3 | ||
4 | GNU Mailutils is free software; you can redistribute it and/or modify | 4 | GNU Mailutils is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by | 5 | 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) | ... | @@ -198,7 +198,7 @@ expand_line (const char *str, message_t msg) |
198 | p++; | 198 | p++; |
199 | if (*p) | 199 | if (*p) |
200 | { | 200 | { |
201 | c = argcv_unescape_char (*p); | 201 | c = argcv_unquote_char (*p); |
202 | obstack_1grow (&stk, c); | 202 | obstack_1grow (&stk, c); |
203 | } | 203 | } |
204 | break; | 204 | break; | ... | ... |
1 | %{ | 1 | %{ |
2 | /* GNU Mailutils -- a suite of utilities for electronic mail | 2 | /* GNU Mailutils -- a suite of utilities for electronic mail |
3 | Copyright (C) 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc. | 3 | Copyright (C) 1999, 2000, 2001, 2002, 2004, 2005 |
4 | Free Software Foundation, Inc. | ||
4 | 5 | ||
5 | This library is free software; you can redistribute it and/or | 6 | This library is free software; you can redistribute it and/or |
6 | modify it under the terms of the GNU Lesser General Public | 7 | modify it under the terms of the GNU Lesser General Public |
... | @@ -728,7 +729,7 @@ str_unescape (char *text, size_t len) | ... | @@ -728,7 +729,7 @@ str_unescape (char *text, size_t len) |
728 | { | 729 | { |
729 | char *str = sieve_alloc (len); | 730 | char *str = sieve_alloc (len); |
730 | memcpy (str, text, len - 2); | 731 | memcpy (str, text, len - 2); |
731 | str[len - 2] = argcv_unescape_char (text[len - 1]); | 732 | str[len - 2] = argcv_unquote_char (text[len - 1]); |
732 | str[len - 1] = 0; | 733 | str[len - 1] = 0; |
733 | return str; | 734 | return str; |
734 | } | 735 | } | ... | ... |
-
Please register or sign in to post a comment