Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add the option roothttp
[src/app-framework-binder.git]
/
src
/
afb-hsrv.c
diff --git
a/src/afb-hsrv.c
b/src/afb-hsrv.c
index
361d13f
..
030bec5
100644
(file)
--- a/
src/afb-hsrv.c
+++ b/
src/afb-hsrv.c
@@
-359,12
+359,12
@@
int afb_hsrv_add_alias_root(struct afb_hsrv *hsrv, const char *prefix, struct lo
return 0;
}
return 0;
}
-int afb_hsrv_add_alias(struct afb_hsrv *hsrv, const char *prefix, const char *alias, int priority, int relax)
+int afb_hsrv_add_alias(struct afb_hsrv *hsrv, const char *prefix,
int dirfd,
const char *alias, int priority, int relax)
{
struct locale_root *root;
int rc;
{
struct locale_root *root;
int rc;
- root = locale_root_create_at(
AT_FDCWD
, alias);
+ root = locale_root_create_at(
dirfd
, alias);
if (root == NULL) {
/* TODO message */
rc = 0;
if (root == NULL) {
/* TODO message */
rc = 0;