]> code.citadel.org Git - citadel.git/blobdiff - webcit/serv_func.c
Resolve the name of the connecting host and pass it on to Citadel
[citadel.git] / webcit / serv_func.c
index fd23284f4d7722308d2b50239b3fa592caf9c550..878ba9f5cf78474dc5cfcd48cf4409be3a79940b 100644 (file)
@@ -15,7 +15,7 @@ struct serv_info serv_info;
 /*
  * get info about the server we've connected to
  */
-void get_serv_info(void) {
+void get_serv_info(char *browser_host) {
        char buf[256];
        int a;
 
@@ -24,7 +24,7 @@ void get_serv_info(void) {
                CLIENT_ID,
                CLIENT_VERSION,
                SERVER,
-               ""              /* FIX find out where the user is */
+               browser_host
                );
        serv_gets(buf);