aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-20 01:44:14 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-20 01:44:14 +0100
commit3fffb93e53e6a22ebcda1389f675870a10564211 (patch)
tree1ace73c72b63f269805f99d3907b4cc88f9dc84a /src
parentb290ca30c0b7b7e10578cb82d25e39e2c7d7ee62 (diff)
kill goto
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-httpd_keystate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c
index 76471fff6..d70c0e7fc 100644
--- a/src/exchange/taler-exchange-httpd_keystate.c
+++ b/src/exchange/taler-exchange-httpd_keystate.c
@@ -2200,7 +2200,6 @@ TEH_KS_loop (void)
char c;
ssize_t res;
-read_again:
errno = 0;
res = read (reload_pipe[0],
&c,
@@ -2212,7 +2211,7 @@ read_again:
break;
}
if (EINTR == errno)
- goto read_again;
+ continue;
switch (c)
{
case SIGUSR1: