aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-clipboard.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-08 19:34:26 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-08 19:34:26 +0100
commit3e07c8b1657e28f19072b430936e88be040fb319 (patch)
tree079b9c8b4669873578cce9eccd79d53c89467a1f /src/mds-clipboard.c
parentm + make sure we never lose errno (diff)
downloadmds-3e07c8b1657e28f19072b430936e88be040fb319.tar.gz
mds-3e07c8b1657e28f19072b430936e88be040fb319.tar.bz2
mds-3e07c8b1657e28f19072b430936e88be040fb319.tar.xz
rename pfail to fail
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-clipboard.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mds-clipboard.c b/src/mds-clipboard.c
index a2a43eb..2488179 100644
--- a/src/mds-clipboard.c
+++ b/src/mds-clipboard.c
@@ -138,7 +138,7 @@ int initialise_server(void)
return 0;
- pfail:
+ fail:
xperror(*argv);
mds_message_destroy(&received);
while (--i >= 0)
@@ -305,7 +305,7 @@ int unmarshal_server(char* state_buf)
}
return 0;
- pfail:
+ fail:
xperror(*argv);
mds_message_destroy(&received);
for (i = 0; i < CLIPBOARD_LEVELS; i++)
@@ -374,7 +374,7 @@ int master_loop(void)
rc = 0;
goto done;
- pfail:
+ fail:
xperror(*argv);
done:
if (!rc && reexecing)
@@ -636,7 +636,7 @@ static int clipboard_purge(int level, const char* client_id)
}
return 0;
- pfail:
+ fail:
xperror(*argv);
return -1;
}
@@ -727,7 +727,7 @@ int clipboard_add(int level, const char* time_to_live, const char* recv_client_i
clipboard[level][0] = new_clip;
return 0;
- pfail:
+ fail:
xperror(*argv);
return -1;
}
@@ -801,7 +801,7 @@ int clipboard_read(int level, size_t index, const char* recv_client_id, const ch
free(message);
return 0;
- pfail:
+ fail:
xperror(*argv);
return -1;
}
@@ -859,7 +859,7 @@ int clipboard_set_size(int level, size_t size)
}
return 0;
- pfail:
+ fail:
xperror(*argv);
return -1;
}
@@ -904,7 +904,7 @@ int clipboard_get_size(int level, const char* recv_client_id, const char* recv_m
free(message);
return 0;
- pfail:
+ fail:
xperror(*argv);
free(message);
return -1;