diff options
Diffstat (limited to 'src/mds-clipboard.c')
-rw-r--r-- | src/mds-clipboard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mds-clipboard.c b/src/mds-clipboard.c index 1d4de37..09cb599 100644 --- a/src/mds-clipboard.c +++ b/src/mds-clipboard.c @@ -361,8 +361,8 @@ int master_loop(void) } else if (errno == EINTR) continue; - else if (errno != ECONNRESET) - goto pfail; + else + fail_if (errno != ECONNRESET); eprint("lost connection to server."); mds_message_destroy(&received); @@ -854,7 +854,7 @@ int clipboard_set_size(int level, size_t size) if (xrealloc(clipboard[level], size, clipitem_t)) { clipboard[level] = old; - goto pfail; + fail_if (1); } clipboard_size[level] = size; } |