You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by rl...@apache.org on 2019/08/16 14:32:03 UTC

[celix] branch develop updated: HTTP admin build fix and typo resolved

This is an automated email from the ASF dual-hosted git repository.

rlenferink pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to refs/heads/develop by this push:
     new 0b44123  HTTP admin build fix and typo resolved
0b44123 is described below

commit 0b441230e177efbc0c707ea0565674a2e50f167e
Author: Roy Lenferink <le...@gmail.com>
AuthorDate: Fri Aug 16 15:01:21 2019 +0200

    HTTP admin build fix and typo resolved
---
 bundles/http_admin/README.md                   | 2 +-
 bundles/http_admin/http_admin/src/http_admin.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/bundles/http_admin/README.md b/bundles/http_admin/README.md
old mode 100644
new mode 100755
index c564372..b47ee0f
--- a/bundles/http_admin/README.md
+++ b/bundles/http_admin/README.md
@@ -40,7 +40,7 @@ celix_bundle_add_dir(<TARGET> <Document root of bundle> DESTINATION ".")
 ```
 
 ### Celix supported config.properties
-    CELIX_TTP_ADMIN_LISTENING_PORTS                  default = 8080, can be multiple ports divided by a comma
+    CELIX_HTTP_ADMIN_LISTENING_PORTS                 default = 8080, can be multiple ports divided by a comma
     CELIX_HTTP_ADMIN_PORT_RANGE_MIN                  default = 8000
     CELIX_HTTP_ADMIN_PORT_RANGE_MAX                  default = 9000
     CELIX_HTTP_ADMIN_USE_WEBSOCKETS                  default = true
diff --git a/bundles/http_admin/http_admin/src/http_admin.c b/bundles/http_admin/http_admin/src/http_admin.c
old mode 100644
new mode 100755
index 79e20b9..9acdd43
--- a/bundles/http_admin/http_admin/src/http_admin.c
+++ b/bundles/http_admin/http_admin/src/http_admin.c
@@ -355,7 +355,6 @@ static void httpAdmin_updateInfoSvc(http_admin_manager_t *admin) {
     char *resources_urls = NULL;
     size_t resources_urls_size;
     FILE *stream = open_memstream(&resources_urls, &resources_urls_size);
-    fprintf(stream , "");
 
     unsigned int size = arrayList_size(admin->aliasList);
     for (unsigned int i = 0; i < size; ++i) {