Clean up INSIDE_DQUOTE path.
svn path=/trunk/; revision=4193
bug reports such as Debian Bug #224564. Matthias Andree
* Rename lock_release to fm_lock_release, to avoid namespace collision on
Darwin. NetBSD PR#28543 (pkg/28543). Matthias Andree.
+* The RFC-822 parser no longer strips the last character of bare addresses.
+ Matthias Andree
fetchmail-6.2.5 (Wed Oct 15 18:39:22 EDT 2003), 23079 lines:
state = ENDIT_ALL;
if (tp)
{
- --tp;
while (tp >= 0 && isspace(address[tp--]))
continue;
address[++tp] = '\0';
break;
case INSIDE_DQUOTE: /* we're in a quoted string, copy verbatim */
- if (*hp != '"')
- address[NEXTTP()] = *hp;
- else
- {
- address[NEXTTP()] = *hp;
+ address[NEXTTP()] = *hp;
+ if (*hp == '"')
state = oldstate;
- }
break;
case INSIDE_PARENS: /* we're in a parenthesized comment, ignore */