summaryrefslogtreecommitdiffstats
path: root/libtdenetwork
diff options
context:
space:
mode:
Diffstat (limited to 'libtdenetwork')
-rw-r--r--libtdenetwork/libgpgme-copy/assuan/assuan-logging.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libtdenetwork/libgpgme-copy/assuan/assuan-logging.c b/libtdenetwork/libgpgme-copy/assuan/assuan-logging.c
index cfc3d846f..6642f8510 100644
--- a/libtdenetwork/libgpgme-copy/assuan/assuan-logging.c
+++ b/libtdenetwork/libgpgme-copy/assuan/assuan-logging.c
@@ -137,7 +137,7 @@ _assuan_log_print_buffer (FILE *fp, const void *buffer, size_t length)
fwrite (buffer, length, 1, fp);
else
{
-#ifdef HAVE_FLOCKFILE
+#ifdef HAVE_FLOCTDEFILE
flockfile (fp);
#endif
putc_unlocked ('[', fp);
@@ -154,7 +154,7 @@ _assuan_log_print_buffer (FILE *fp, const void *buffer, size_t length)
}
putc_unlocked (' ', fp);
putc_unlocked (']', fp);
-#ifdef HAVE_FUNLOCKFILE
+#ifdef HAVE_FUNLOCTDEFILE
funlockfile (fp);
#endif
}
@@ -171,7 +171,7 @@ _assuan_log_sanitized_string (const char *string)
if (! *s)
return;
-#ifdef HAVE_FLOCKFILE
+#ifdef HAVE_FLOCTDEFILE
flockfile (fp);
#endif
@@ -218,7 +218,7 @@ _assuan_log_sanitized_string (const char *string)
}
}
-#ifdef HAVE_FUNLOCKFILE
+#ifdef HAVE_FUNLOCTDEFILE
funlockfile (fp);
#endif
}