add more information to the system contexts, so one can use RWHO to find out what...
[citadel.git] / citadel / modules / network / serv_networkclient.c
index 839818efb2f74986cf91bea8ce73de6eaf3c72e4..3098ce474104a3884672be5fc80ad6633748198c 100644 (file)
@@ -820,6 +820,10 @@ void RunNetworker(AsyncNetworker *NW)
        SubC->session_specific_data = (char*) NW;
        NW->IO.CitContext = SubC;
 
+       safestrncpy(SubC->cs_host, 
+                   ChrPtr(NW->host),
+                   sizeof(SubC->cs_host)); 
+
        if (NW->IO.ConnectMe->IsIP) {
                QueueEventContext(&NW->IO,
                                  nwc_connect_ip);