aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Murphy <alec@checksum.fail>2017-05-25 15:02:17 -0400
committerAlec Murphy <alec@checksum.fail>2017-05-25 15:02:17 -0400
commitf208c5ebecbde3049aa1c3f75a5200c115472e26 (patch)
tree7ff9f19b47a46eee4fd8330c5bd5d6432edddf15
parentb8f7aa26b66f3b3a3b6015fedd8f9ec172229d76 (diff)
Update directory listing text.
-rw-r--r--Selaphiel.HC5
1 files changed, 4 insertions, 1 deletions
diff --git a/Selaphiel.HC b/Selaphiel.HC
index cd7c5d3..61f07a5 100644
--- a/Selaphiel.HC
+++ b/Selaphiel.HC
@@ -79,7 +79,10 @@ I64 Selaphiel(U8 *p_ipaddr, I64 p_port)
U8 recv_str[256];
U8 req[256];
U8 SWS_VERSION_STR[64];
+ U8 SWS_HOSTNAME[128];
+ I64 SWS_PORT=80;
StrCpy(SWS_VERSION_STR,"Selaphiel/0.1");
+ StrCpy(SWS_HOSTNAME,"contoso.com");
sockaddr_in p_addr;
p_addr.sin_family = AF_INET;
p_addr.sin_port = htons(p_port);
@@ -257,7 +260,7 @@ I64 Selaphiel(U8 *p_ipaddr, I64 p_port)
wswrite(sock, "</head>");
wswrite(sock, "<body><div id='a' style='display:none'>");
DirList(sock, req);
- StrPrint(buf, "<hr><small>%s (%s) sheikhs.space Port 443",SWS_VERSION_STR,Define("DD_OS_NAME_VERSION"));
+ StrPrint(buf, "<hr><small>%s (%s) %s Port %d",SWS_VERSION_STR,Define("DD_OS_NAME_VERSION"),SWS_HOSTNAME,SWS_PORT);
wswrite(sock, buf);
wswrite(sock, "</small></div></body><script type='text/javascript'>");
wswrite(sock, "document.getElementById('a').style='';</script>");