gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 99/219: memdebug: fix variable name


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 99/219: memdebug: fix variable name
Date: Wed, 22 May 2019 19:17:18 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit b21701c54ba050145246e89c5137015479c65f7e
Author: Gisle Vanem <address@hidden>
AuthorDate: Mon Apr 22 03:04:26 2019 -0400

    memdebug: fix variable name
    
    Follow-up to 76b6348 which renamed logfile as curl_dbg_logfile.
    
    Ref: https://github.com/curl/curl/commit/76b6348#r33259088
---
 lib/memdebug.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/memdebug.c b/lib/memdebug.c
index e3ac8edf7..00e57e9a1 100644
--- a/lib/memdebug.c
+++ b/lib/memdebug.c
@@ -114,8 +114,8 @@ void curl_dbg_memdebug(const char *logname)
       curl_dbg_logfile = stderr;
 #ifdef MEMDEBUG_LOG_SYNC
     /* Flush the log file after every line so the log isn't lost in a crash */
-    if(logfile)
-      setbuf(logfile, (char *)NULL);
+    if(curl_dbg_logfile)
+      setbuf(curl_dbg_logfile, (char *)NULL);
 #endif
   }
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]