MXS-463: Filepaths are now properly formatted for printing

The various global directory setter functions now process the input they receive
and remove redundant and trailing forward slashes from the directory paths.
This commit is contained in:
Markus Makela
2015-12-31 10:33:53 +02:00
parent 05a7f5759b
commit 4ef89d213b
4 changed files with 123 additions and 37 deletions

View File

@ -89,4 +89,5 @@ int parse_bindconfig(char *, unsigned short, struct sockaddr_in *);
int setipaddress(struct in_addr *, char *);
char* get_libdir();
long get_processor_count();
void clean_up_pathname(char *path);
#endif