diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-07-10 13:58:35 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-07-10 13:59:05 +0200 |
commit | a5834e525deb6d233990ae2288b156728db32cec (patch) | |
tree | 604d642ba2cb7e9eac3308186f00b138d3791a22 /lib/memdebug.c | |
parent | 793e831bbff597212c72ded33c375891c8394f6d (diff) | |
download | curl-a5834e525deb6d233990ae2288b156728db32cec.tar.gz |
errno: fix non-windows builds after af0216251b94e7
Diffstat (limited to 'lib/memdebug.c')
-rw-r--r-- | lib/memdebug.c | 2 |
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 |