aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorwachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96>2012-11-14 15:15:29 +0000
committerwachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96>2012-11-14 15:15:29 +0000
commit243cecff87c3733401ffdca454a99fc01afbdee5 (patch)
tree665017636060c45f452f42f9e3c3fdd0923a095a /src/transport
parent82b35f38f7d1c3467516885573a17e14c53bf526 (diff)
use api correctly
git-svn-id: https://gnunet.org/svn/gnunet@24962 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/plugin_transport_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c
index d9badf3803..b6b6cf35f2 100644
--- a/src/transport/plugin_transport_unix.c
+++ b/src/transport/plugin_transport_unix.c
@@ -753,7 +753,7 @@ unix_plugin_send (void *cls,
wrapper->msgsize = ssize;
wrapper->payload = msgbuf_size;
wrapper->priority = priority;
- wrapper->timeout = GNUNET_TIME_absolute_add (GNUNET_TIME_absolute_get(), to);
+ wrapper->timeout = GNUNET_TIME_relative_to_absolute (to);
wrapper->cont = cont;
wrapper->cont_cls = cont_cls;
wrapper->session = session;