Skip to content
Snippets Groups Projects
Commit e2a1216b authored by Gary Williams's avatar Gary Williams
Browse files

change DIRSEP to LDAP_DIRSEP

parent 426379d5
No related branches found
No related tags found
No related merge requests found
......@@ -51,11 +51,11 @@ ldbm_back_startup(
/* if the data directory is not an absolute path, have it relative
to the current working directory (which should not be configured !) */
if ( *li->li_directory != *DIRSEP ) {
if ( *li->li_directory != *LDAP_DIRSEP ) {
char cwd[MAXPATHLEN];
(void) getcwd( cwd, MAXPATHLEN );
sprintf( cwd, "%s%s%s", cwd, DIRSEP, li->li_directory );
sprintf( cwd, "%s%s%s", cwd, LDAP_DIRSEP, li->li_directory );
free( li->li_directory );
li->li_directory = strdup( cwd );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment