|
|
@ -137,7 +137,7 @@ _assuan_log_print_buffer (FILE *fp, const void *buffer, size_t length)
|
|
|
|
fwrite (buffer, length, 1, fp);
|
|
|
|
fwrite (buffer, length, 1, fp);
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#ifdef HAVE_FLOCTDEFILE
|
|
|
|
#ifdef HAVE_FLOCKFILE
|
|
|
|
flockfile (fp);
|
|
|
|
flockfile (fp);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
putc_unlocked ('[', fp);
|
|
|
|
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);
|
|
|
|
putc_unlocked (']', fp);
|
|
|
|
putc_unlocked (']', fp);
|
|
|
|
#ifdef HAVE_FUNLOCTDEFILE
|
|
|
|
#ifdef HAVE_FUNLOCKFILE
|
|
|
|
funlockfile (fp);
|
|
|
|
funlockfile (fp);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -171,7 +171,7 @@ _assuan_log_sanitized_string (const char *string)
|
|
|
|
if (! *s)
|
|
|
|
if (! *s)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef HAVE_FLOCTDEFILE
|
|
|
|
#ifdef HAVE_FLOCKFILE
|
|
|
|
flockfile (fp);
|
|
|
|
flockfile (fp);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
@ -218,7 +218,7 @@ _assuan_log_sanitized_string (const char *string)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef HAVE_FUNLOCTDEFILE
|
|
|
|
#ifdef HAVE_FUNLOCKFILE
|
|
|
|
funlockfile (fp);
|
|
|
|
funlockfile (fp);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|