]> granicus.if.org Git - curl/commitdiff
memdebug: fix compilation failure
authorKamil Dudka <kdudka@redhat.com>
Mon, 22 May 2017 17:00:15 +0000 (19:00 +0200)
committerKamil Dudka <kdudka@redhat.com>
Mon, 22 May 2017 17:03:16 +0000 (19:03 +0200)
.... caused by a typo in the last commit (fixing issue #1504):

memdebug.c: In function ‘curl_fclose’:
memdebug.c:444:3: error: implicit declaration of function
‘DEBUGDEBUGASSERT’ [-Werror=implicit-function-declaration]

lib/memdebug.c

index 3ee16c8ebb6a12cd200c592052e86d8417eab36b..2b8808ab03e1f4b0b9e9d16e736b742562e1c063 100644 (file)
@@ -441,7 +441,7 @@ int curl_fclose(FILE *file, int line, const char *source)
 {
   int res;
 
-  DEBUGDEBUGASSERT(file != NULL);
+  DEBUGASSERT(file != NULL);
 
   res=fclose(file);