gpgparsemail: Fix last commit (3f2bdac)
authorWerner Koch <wk@gnupg.org>
Fri, 10 Apr 2015 06:34:35 +0000 (08:34 +0200)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 15 Apr 2015 07:08:32 +0000 (16:08 +0900)
commit93910b5b8d20c089b2578d757cf06509d7617978
treebdf1ea4f86990127f22575782c4c38fdf6460458
parentde7f7b98dfeb30675369d0bedc6d639314193e96
gpgparsemail: Fix last commit (3f2bdac)

* tools/rfc822parse.c (parse_field): Replace break by goto.
--

Brown paper bag bug: Changing an IF to a WHILE inside another loop
requires to fix the inner break.

Reported-by: Hanno Böck
Signed-off-by: Werner Koch <wk@gnupg.org>
(backported from 2.1 commit 9433661419043431a6cfc7d84c8450e0b2f6c353)
tools/rfc822parse.c