From 6267972023972945782b1ad33f7a5cda87074bf3 Mon Sep 17 00:00:00 2001 From: deadwood Date: Sat, 31 May 2014 20:27:04 +0000 Subject: [PATCH] include/netdb.h: use GETREF instead of GETVAL We want to have the pointer to the HERRNO stored into ptr, not into ti_Data field of array. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@49035 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/network/common/include/netdb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workbench/network/common/include/netdb.h b/workbench/network/common/include/netdb.h index 729026a019..cfd17f13af 100644 --- a/workbench/network/common/include/netdb.h +++ b/workbench/network/common/include/netdb.h @@ -98,7 +98,7 @@ static inline int *__get_h_errno_ptr(struct Library *SocketBase) { int *ptr; struct TagItem tags[] = { - {SBTM_GETVAL(SBTC_HERRNOLONGPTR), (STACKIPTR)&ptr}, + {SBTM_GETREF(SBTC_HERRNOLONGPTR), (STACKIPTR)&ptr}, {TAG_DONE , 0 } }; -- 2.11.4.GIT