aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sledjchisl/sledjchisl.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 4651a69..0907ab1 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -8798,16 +8798,19 @@ fi
8798 goto finished; 8798 goto finished;
8799 } 8799 }
8800 8800
8801 // Need to kick this off. 8801 if (isWeb)
8802 stats = getStats(database, stats); 8802 {
8803 char *h = qstrunchar(qconfig->getstr(qconfig, "Const.HostName", false), '"', '"'); 8803 // Need to kick this off.
8804 char *p = qstrunchar(qconfig->getstr(qconfig, "Const.PublicPort", false), '"', '"'); 8804 stats = getStats(database, stats);
8805 stats->stats->putstr(stats->stats, "grid", qstrunchar(qconfig->getstr(qconfig, "Const.GridName", false), '"', '"')); 8805 char *h = qstrunchar(qconfig->getstr(qconfig, "Const.HostName", false), '"', '"');
8806 stats->stats->putstr(stats->stats, "HostName", h); 8806 char *p = qstrunchar(qconfig->getstr(qconfig, "Const.PublicPort", false), '"', '"');
8807 stats->stats->putstr(stats->stats, "PublicPort", p); 8807 stats->stats->putstr(stats->stats, "grid", qstrunchar(qconfig->getstr(qconfig, "Const.GridName", false), '"', '"'));
8808 snprintf(toybuf, sizeof(toybuf), "http://%s:%s/", h, p); 8808 stats->stats->putstr(stats->stats, "HostName", h);
8809 8809 stats->stats->putstr(stats->stats, "PublicPort", p);
8810 stats->stats->putstr(stats->stats, "uri", toybuf); 8810 snprintf(toybuf, sizeof(toybuf), "http://%s:%s/", h, p);
8811
8812 stats->stats->putstr(stats->stats, "uri", toybuf);
8813 }
8811 qconfig->free(qconfig); 8814 qconfig->free(qconfig);
8812 } 8815 }
8813 8816