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
Adds options --no-httpd and --exec
[src/app-framework-binder.git]
/
src
/
afb-hsrv.c
diff --git
a/src/afb-hsrv.c
b/src/afb-hsrv.c
index
030bec5
..
6bc8ffa
100644
(file)
--- a/
src/afb-hsrv.c
+++ b/
src/afb-hsrv.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2016 "IoT.bzh"
+ * Copyright (C) 2016
, 2017
"IoT.bzh"
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-366,7
+366,7
@@
int afb_hsrv_add_alias(struct afb_hsrv *hsrv, const char *prefix, int dirfd, con
root = locale_root_create_at(dirfd, alias);
if (root == NULL) {
root = locale_root_create_at(dirfd, alias);
if (root == NULL) {
- /* TODO message */
+ ERROR("can't connect to directory %s: %m", alias);
rc = 0;
} else {
rc = afb_hsrv_add_alias_root(hsrv, prefix, root, priority, relax);
rc = 0;
} else {
rc = afb_hsrv_add_alias_root(hsrv, prefix, root, priority, relax);