]> code.citadel.org Git - citadel.git/blobdiff - webcit/serv_func.c
* Started moving all of the global variables into a struct, to facilitate
[citadel.git] / webcit / serv_func.c
index 686dcc1bbe47ce01a1d3437278f500cfd1056932..750ec7d2f4fbb0506731b82c37ab98580dabef70 100644 (file)
 struct serv_info serv_info;
 
 /*
- * get info about the server we've connected to
+ * get info about the server we've WC->connected to
  */
-void get_serv_info(char *browser_host)
+void get_serv_info(char *browser_host, char *user_agent)
 {
        char buf[256];
        int a;
 
        serv_printf("IDEN %d|%d|%d|%s|%s",
-                   DEVELOPER_ID,
-                   CLIENT_ID,
-                   CLIENT_VERSION,
-                   SERVER,
-                   browser_host
-           );
+               DEVELOPER_ID,
+               CLIENT_ID,
+               CLIENT_VERSION,
+               user_agent,
+               browser_host
+       );
        serv_gets(buf);
 
        serv_puts("INFO");