fprintf to print error to stderr
This commit is contained in:
parent
9271f0bf08
commit
b2a9ad47d8
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ node * r3_tree_insert_pathl_(node *tree, const char *path, int path_len, route *
|
|||
char *err = NULL;
|
||||
int slug_cnt = slug_count(path, path_len, &err);
|
||||
if (err) {
|
||||
printf("Can not insert path '%s'. Error: %s\n", path, err);
|
||||
fprintf(stderr, "Can not insert path '%s'. Error: %s\n", path, err);
|
||||
free(err);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue