mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#10092 fix prev commit for non-Windows
This commit is contained in:
parent
595d177473
commit
a692941092
1 changed files with 2 additions and 2 deletions
|
|
@ -159,11 +159,11 @@ slap_debug_print( const char *data )
|
|||
iov[0].iov_base = syslog_prefix;
|
||||
iov[0].iov_len = splen;
|
||||
#endif
|
||||
} else {
|
||||
ptr += poffset; /* only nonzero if logfile-format was explicitly set */
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
if ( logfile_format <= LFMT_DEBUG )
|
||||
ptr += poffset; /* only nonzero if logfile-format was explicitly set */
|
||||
len = write( logfile_fd, ptr, len );
|
||||
#else
|
||||
len = writev( logfile_fd, iov, 2 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue