FreeCalypso > hg > freecalypso-sw
diff rvinterf/etm/init.c @ 197:fa7174faa9aa
fc-tmsh: option to invoke rvinterf "behind the scenes"
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 15 Dec 2013 07:31:52 +0000 |
parents | 13a0348ffce4 |
children | 2f285f20d617 |
line wrap: on
line diff
--- a/rvinterf/etm/init.c Sat Dec 14 07:55:22 2013 +0000 +++ b/rvinterf/etm/init.c Sun Dec 15 07:31:52 2013 +0000 @@ -75,7 +75,8 @@ 0x00, 0x1E, 0x00, 0x04}; static u_char want_etm_mux[2] = {CLI2RVI_WANT_MUXPROTO, RVT_TM_HEADER}; - connect_local_socket(); + if (!sock) + connect_local_socket(); localsock_prep_for_length_rx(); send_init_command(want_rvt_lost, 9); send_init_command(want_rvt_etm, 9);