summaryrefslogtreecommitdiff
path: root/lib/memdebug.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-07-10 13:58:35 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-07-10 13:59:05 +0200
commita5834e525deb6d233990ae2288b156728db32cec (patch)
tree604d642ba2cb7e9eac3308186f00b138d3791a22 /lib/memdebug.c
parent793e831bbff597212c72ded33c375891c8394f6d (diff)
downloadcurl-a5834e525deb6d233990ae2288b156728db32cec.tar.gz
errno: fix non-windows builds after af0216251b94e7
Diffstat (limited to 'lib/memdebug.c')
-rw-r--r--lib/memdebug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c
index 16434f819..8c9fe9502 100644
--- a/lib/memdebug.c
+++ b/lib/memdebug.c
@@ -147,7 +147,7 @@ static bool countcheck(const char *func, int line, const char *source)
source, line, func);
fflush(logfile); /* because it might crash now */
}
- SET_ERRNO(ENOMEM);
+ errno = ENOMEM;
return TRUE; /* RETURN ERROR! */
}
else