dfp = lock_fopen( dst, "a", &dlfp );
if ( dfp == NULL ) {
#ifdef NEW_LOGGING
- LDAP_LOG ( SLURPD, ERR, "copy_replog: "
- "Error: Can't lock replog \"%s\" for write: %s\n",
- src, sys_errlist[ errno ], 0 );
+ LDAP_LOG ( SLURPD, ERR,
+ "copy_replog: Error: Can't lock replog \"%s\" for write: %s\n",
+ dst, sys_errlist[ errno ], 0 );
#else
- Debug( LDAP_DEBUG_ANY,
- "Error: copy_replog: Can't lock replog \"%s\" for write: %s\n",
- src, sys_errlist[ errno ], 0 );
+ Debug( LDAP_DEBUG_ANY,
+ "Error: copy_replog: Can't lock replog \"%s\" for write: %s\n",
+ dst, sys_errlist[ errno ], 0 );
#endif
lock_fclose( rfp, lfp );
return( 1 );
if ( lock_fclose( dfp, dlfp ) == EOF ) {
#ifdef NEW_LOGGING
- LDAP_LOG ( SLURPD, ERR, "copy_replog: "
- "Error: Error closing \"%s\"\n", src, 0, 0 );
+ LDAP_LOG ( SLURPD, ERR,
+ "copy_replog: Error: Error closing \"%s\"\n",
+ dst, 0, 0 );
#else
- Debug( LDAP_DEBUG_ANY,
- "Error: copy_replog: Error closing \"%s\"\n",
- src, 0, 0 );
+ Debug( LDAP_DEBUG_ANY,
+ "Error: copy_replog: Error closing \"%s\"\n",
+ dst, 0, 0 );
#endif
}
if ( lock_fclose( rfp, lfp ) == EOF ) {