]> sourceware.org Git - systemtap.git/commitdiff
2005-09-06 Martin Hunt <hunt@redhat.com>
authorhunt <hunt>
Tue, 6 Sep 2005 17:13:30 +0000 (17:13 +0000)
committerhunt <hunt>
Tue, 6 Sep 2005 17:13:30 +0000 (17:13 +0000)
* transport.c (_stp_handle_start): Always reply to
a start message with STP_START.

runtime/transport/ChangeLog
runtime/transport/transport.c

index 18a8b480793c9ccce07e3a2f2ccd18b236aa903f..ed0b43291fc32bdf58e835d70b68161c85b64bb4 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-06  Martin Hunt  <hunt@redhat.com>
+
+       * transport.c (_stp_handle_start): Always reply to
+       a start message with STP_START.
+
 2005-08-24  Martin Hunt  <hunt@redhat.com>
 
        * transport_msgs.h (enum): New type, STP_OOB_DATA.
index d3e5ff5eb60f72d03af66fac5dfb1bccf0157b41..fdd91078f12dbfce372155e3371f338b9692d90a 100644 (file)
@@ -88,14 +88,11 @@ static void _stp_handle_buf_info(int *cpuptr)
  */
 void _stp_handle_start (struct transport_start *st)
 {
-       int err;
        kbug ("stp_handle_start pid=%d\n", st->pid);
-       err = probe_start();
-       if (err < 0) {
-               st->pid = err;
+       st->pid = probe_start();
+       if (st->pid < 0) 
                _stp_exit_called = 1;
-               _stp_transport_send(STP_START, st, sizeof(*st));
-       }
+       _stp_transport_send(STP_START, st, sizeof(*st));
 }
 
 #ifdef STP_RELAYFS
This page took 0.029046 seconds and 5 git commands to generate.