From 11ff79c65649a1c97bf2e6dce30dccc35df9e860 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 20 Jul 2016 19:21:51 +0000 Subject: Actually call ipc_timed_recv ipc_timed_recv --- src/include/skalibs/unix-timed.h | 4 ++-- src/libunixonacid/ipc_timed_recv.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/skalibs/unix-timed.h b/src/include/skalibs/unix-timed.h index 68c6361..17bda9d 100644 --- 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 index bcb991d..7093c4d 100644 --- 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) ; -- cgit v1.2.3