commit 11ff79c65649a1c97bf2e6dce30dccc35df9e860
parent 885cd198c0be874147a0e98e106a85abf720a7f1
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Wed, 20 Jul 2016 19:21:51 +0000
Actually call ipc_timed_recv ipc_timed_recv
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/include/skalibs/unix-timed.h b/src/include/skalibs/unix-timed.h
@@ -35,7 +35,7 @@ extern int netstring_timed_get (buffer *, stralloc *, tain_t const *, tain_t *)
extern int ipc_timed_send (int, char const *, unsigned int, tain_t const *, tain_t *) ;
#define ipc_timed_send_g(fd, s, len, deadline) ipc_timed_send(fd, s, len, (deadline), &STAMP)
-extern int ipc_timed_get (int, char *, unsigned int, char *, tain_t const *, tain_t *) ;
-#define ipc_timed_get_g(fd, s, len, path, deadline) ipc_timed_get(fd, s, len, path, (deadline), &STAMP)
+extern int ipc_timed_recv (int, char *, unsigned int, char *, tain_t const *, tain_t *) ;
+#define ipc_timed_recv_g(fd, s, len, path, deadline) ipc_timed_recv(fd, s, len, path, (deadline), &STAMP)
#endif
diff --git a/src/libunixonacid/ipc_timed_recv.c b/src/libunixonacid/ipc_timed_recv.c
@@ -23,7 +23,7 @@ static int get (struct blah_s *blah)
return sanitize_read(ipc_recv(blah->fd, blah->s, blah->len, blah->path)) ;
}
-int ipc_timed_get (int fd, char *s, unsigned int len, char *path, tain_t const *deadline, tain_t *stamp)
+int ipc_timed_recv (int fd, char *s, unsigned int len, char *path, tain_t const *deadline, tain_t *stamp)
{
struct blah_s blah = { .fd = fd, .s = s, .len = len, .path = path } ;
return timed_get(&blah, (initfunc_t_ref)&getfd, (initfunc_t_ref)&get, deadline, stamp) ;