]> code.citadel.org Git - citadel.git/blobdiff - webcit/groupdav_main.c
* Reversed the previous change
[citadel.git] / webcit / groupdav_main.c
index c32fc6a5f7f344dc3b22aae857d0224401e249c7..6fe89b1b927e0fd54d715255e81b6fa186843a6a 100644 (file)
@@ -236,4 +236,16 @@ void groupdav_main(struct httprequest *req,
 }
 
 
+/**
+ * \brief Output http[s]://fqdn.example.com[:port] to the client.
+ */
+void output_host_prefix(void) {
+       if (strlen(WC->http_host) > 0) {
+               wprintf("%s://%s",
+                       (is_https ? "https" : "http"),
+                       WC->http_host);
+       }
+}
+
+
 /*@}*/