Changeset 3210 for trunk/module-monitor.c
- Timestamp:
- 09/24/10 10:25:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-monitor.c
r3193 r3210 763 763 } 764 764 765 static void monitor_server(void *idx){765 static void * monitor_server(void *cli){ 766 766 int n; 767 767 uchar mbuf[1024]; 768 768 769 int cidx=(int)idx;770 client[cidx].thread=pthread_self();771 client [cs_idx].typ='m';769 struct s_client * client = (struct s_client *) cli; 770 client->thread=pthread_self(); 771 client->typ='m'; 772 772 while (((n = process_input(mbuf, sizeof(mbuf), cfg->cmaxidle)) >= 0) && monitor_process_request((char *)mbuf)); 773 773 cs_disconnect_client(); 774 return NULL; 774 775 } 775 776
Note:
See TracChangeset
for help on using the changeset viewer.