Changeset 3172 for trunk/module-monitor.c
- Timestamp:
- 09/22/10 21:36:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-monitor.c
r3153 r3172 765 765 static void monitor_server(void *idx){ 766 766 int n; 767 uchar mbuf[1024]; 767 768 768 769 int cidx=(int)idx; 769 770 client[cidx].thread=pthread_self(); 770 771 client[cs_idx].typ='m'; 771 while (((n = process_input( client[cs_idx].mbuf, sizeof(client[cs_idx].mbuf), cfg->cmaxidle)) >= 0) && monitor_process_request((char *)client[cs_idx].mbuf));772 while (((n = process_input(mbuf, sizeof(mbuf), cfg->cmaxidle)) >= 0) && monitor_process_request((char *)mbuf)); 772 773 cs_disconnect_client(); 773 774 }
Note:
See TracChangeset
for help on using the changeset viewer.