#include "slap.h"
-static char **dn_explode();
-
#define DNSEPARATOR(c) (c == ',' || c == ';')
#define SEPARATOR(c) (c == ',' || c == ';' || c == '+')
#define SPACE(c) (c == ' ' || c == '\n')
if ( *(s + 1) == '\0' ) {
return( NULL );
} else {
- return( strdup( s + 1 ) );
+ return( ch_strdup( s + 1 ) );
}
}
if ( *s == '"' )
inquote = 1;
else if ( DNSEPARATOR( *s ) )
- return( strdup( s + 1 ) );
+ return( ch_strdup( s + 1 ) );
}
}
- return( strdup("") );
+ return( ch_strdup("") );
}
/*