projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oops, references to the server /var/log/amanda directory in rules, too
[debian/amanda]
/
common-src
/
ipc-binary-test.c
diff --git
a/common-src/ipc-binary-test.c
b/common-src/ipc-binary-test.c
index 11945c33ed73d7c85bf212748f3c1b430cff51bc..7361e6e6527b3be26164a7d027179a3d6e92b4b0 100644
(file)
--- a/
common-src/ipc-binary-test.c
+++ b/
common-src/ipc-binary-test.c
@@
-158,7
+158,7
@@
test_sync_parent(ipc_binary_proto_t *proto, int fd)
return 1;
}
return 1;
}
-static
int
+static
gboolean
test_sync(void)
{
int rv;
test_sync(void)
{
int rv;
@@
-170,7
+170,7
@@
test_sync(void)
if (pipe(p) == -1) {
perror("pipe");
if (pipe(p) == -1) {
perror("pipe");
- return
0
;
+ return
FALSE
;
}
proto = ipc_binary_proto_new(0xE10E);
}
proto = ipc_binary_proto_new(0xE10E);
@@
-187,7
+187,7
@@
test_sync(void)
/* run the parent and collect the results */
rv = test_sync_parent(proto, p[0]) && GPOINTER_TO_INT(g_thread_join(child));
/* run the parent and collect the results */
rv = test_sync_parent(proto, p[0]) && GPOINTER_TO_INT(g_thread_join(child));
- return
rv
;
+ return
(rv) ? TRUE : FALSE
;
}
int
}
int