lxg0523:goofy> svndiff Index: m_rirec.c =================================================================== 26a27,28 > #include > #include 71a74 > #include 150c153 < main(INTS4 argc, CHARS *argv[]) --- > int main(INTS4 argc, CHARS *argv[]) 702c705 < f_dr_cmd_ena_receive_data (INTS4 *ps_anker) --- > int f_dr_cmd_ena_receive_data (INTS4 *ps_anker) 743c746 < f_dr_cmd_dis_receive_data (INTS4 *ps_anker) --- > int f_dr_cmd_dis_receive_data (INTS4 *ps_anker) 1112c1115 < f_swaplw (pl_evt_buf_act, sizeof (s_veshe)/4, ps_veshe); --- > f_swaplw (pl_evt_buf_act, sizeof (s_veshe)/4, (INTS4 *)ps_veshe); Index: m_event_serv.c =================================================================== 501a502 > if(e_ps_evctr->l_max_evt < 0)strcpy(c_maxevt,"ALL"); 504c505 < (e_ps_evctr->l_max_evt < 0) ? "ALL" : c_maxevt, --- > c_maxevt, 547,548c548,550 < strcpy(c_username, (pc != 0) ? ++pc : ""); < } --- > if(pc != 0){ > pc++;strcpy(c_username, pc); > }} 552,553c554,556 < strcpy(c_hostname, (pc != 0) ? ++pc : ""); < } --- > if(pc != 0){ > pc++;strcpy(c_hostname, pc); > }} 1294a1298 > if(e_ps_evctr->l_max_evt < 0)strcpy(c_maxevt,"ALL"); 1297c1301 < (e_ps_evctr->l_max_evt < 0) ? "ALL" : c_maxevt , --- > c_maxevt , 1318c1322 < CHARS c_retmsg[256], c_maxevt[16]; --- > CHARS c_retmsg[256], c_maxevt[16], c_serv[256]; 1338a1343,1345 > if(e_ps_evctr->h_portserv) > sprintf(c_serv,"PORTSERVER:ON service:%s",e_ps_evctr->pc_evsername); > else strcpy(c_serv,"PORTSERVER:OFF service:-"); 1343c1350 < sprintf(c_retmsg, "HOST:%s PORT:%d PORTSERVER:%s service:%s", --- > sprintf(c_retmsg, "HOST:%s PORT:%d %s", 1346,1348c1353 < (e_ps_evctr->h_portserv) ? "ON" : "OFF", < (e_ps_evctr->h_portserv) ? < e_ps_evctr->pc_evsername : "-"); --- > c_serv); 1350a1356 > if(e_ps_evctr->l_max_evt < 0)strcpy(c_maxevt,"ALL"); 1353c1359 < (e_ps_evctr->l_max_evt < 0) ? "ALL" : c_maxevt , --- > c_maxevt , 1360c1366 < sprintf(c_retmsg, "HOST:%s PORT:%d PORTSERVER:%s service:%s", --- > sprintf(c_retmsg, "HOST:%s PORT:%d %s", 1363,1365c1369 < (e_ps_evctr->h_portserv) ? "ON" : "OFF", < (e_ps_evctr->h_portserv) ? < e_ps_evctr->pc_evsername : "-"); --- > c_serv); 1367a1372 > if(e_ps_evctr->l_max_evt < 0)strcpy(c_maxevt,"ALL"); 1370c1375 < (e_ps_evctr->l_max_evt < 0) ? "ALL" : c_maxevt , --- > c_maxevt , Index: m_ar.c =================================================================== 23a24,25 > #include > #include 67a70 > #include 146c149 < main(INTS4 argc, CHARS *argv[]) --- > int main(INTS4 argc, CHARS *argv[]) 696c699 < f_dr_cmd_ena_receive_data (INTS4 *ps_anker) --- > int f_dr_cmd_ena_receive_data (INTS4 *ps_anker) 737c740 < f_dr_cmd_dis_receive_data (INTS4 *ps_anker) --- > int f_dr_cmd_dis_receive_data (INTS4 *ps_anker) Index: Makefile =================================================================== 230c230 < gcc -Wall -O2 $(CFLAGS) -DLEC_TRIG_CHECK -o $(BIN)/m_rirec -I$(INC) $(SRC)/m_rirec.c\ --- > gcc -O2 $(CFLAGS) -DLEC_TRIG_CHECK -o $(BIN)/m_rirec -I$(INC) $(SRC)/m_rirec.c\ 253c253 < gcc -Wall -O2 $(CFLAGS) -DLEC_TRIG_CHECK -o $(BIN)/m_ar -I$(INC) $(SRC)/m_ar.c\ --- > gcc -O2 $(CFLAGS) -DLEC_TRIG_CHECK -o $(BIN)/m_ar -I$(INC) $(SRC)/m_ar.c\ Index: m_esone_serv.c =================================================================== 477,478c477,479 < strcpy(c_username, (pc != 0) ? ++pc : ""); < } --- > if(pc != 0){ > pc++;strcpy(c_username, pc); > }} 482,483c483,485 < strcpy(c_hostname, (pc != 0) ? ++pc : ""); < } --- > if(pc != 0){ > pc++;strcpy(c_hostname, pc); > }} 1090c1092 < CHARS c_retmsg[256]; --- > CHARS c_retmsg[256], c_serv[256]; 1101a1104,1106 > if(e_ps_esctr->h_portserv) > sprintf(c_serv,"PORTSERVER:ON service:%s",e_ps_esctr->pc_essername); > else strcpy(c_serv,"PORTSERVER:OFF service:-"); 1106c1111 < sprintf(c_retmsg, "HOST:%s PORT:%d PORTSERVER:%s service:%s", --- > sprintf(c_retmsg, "HOST:%s PORT:%d %s", 1109,1111c1114 < (e_ps_esctr->h_portserv) ? "ON" : "OFF", < (e_ps_esctr->h_portserv) ? < e_ps_esctr->pc_essername : "-"); --- > c_serv); 1121c1124 < sprintf(c_retmsg, "HOST:%s PORT:%d PORTSERVER:%s service:%s", --- > sprintf(c_retmsg, "HOST:%s PORT:%d %s", 1124,1126c1127 < (e_ps_esctr->h_portserv) ? "ON" : "OFF", < (e_ps_esctr->h_portserv) ? < e_ps_esctr->pc_essername : "-"); --- > c_serv); Index: m_to.c =================================================================== 509c509 < pl_data[l_i] = (long*) ((long) ps_ves10_1[l_i] + sizeof(s_ves10_1)); --- > pl_data[l_i] = (unsigned int*) ((long) ps_ves10_1[l_i] + sizeof(s_ves10_1)); 580c580 < ps_form->pl_dat_start[0] = (long) ps_ves10_1[l_i]; --- > ps_form->pl_dat_start[0] = (int *) ps_ves10_1[l_i]; 631c631 < ps_form->pl_dat_start[0] = (long) ps_ves10_1[l_i]; --- > ps_form->pl_dat_start[0] = (int *) ps_ves10_1[l_i]; 797c797 < ps_form->pl_dat_start[l_se_i] = (long) ps_ves10_1[l_ea]; --- > ps_form->pl_dat_start[l_se_i] = (int *) ps_ves10_1[l_ea]; Index: m_dispatch.c =================================================================== 668c668 < sprintf(c_out_line,"Kill him with SIGTERM ... \n"); --- > sprintf(c_out_line,"Kill %s with SIGTERM ... \n",ps_args->c_task);