Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
davmac314 committed Oct 1, 2024
1 parent aef55e4 commit 886351e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dinitctl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,9 @@ static int process_service_event(cpbuffer_t &rbuffer, unsigned pktlen, handle_t
else if (!do_stop && event == service_event_t::FAILEDSTART) {
if (verbose) {
cout << "Service '" << service_name << "' failed to start.\n";
cout << "*** line: " << __LINE__ << "\n";
cout << "*** pktlen = " << pktlen << "\n";
cout << "*** base_pkt_size + STATUS_BUFFER_SIZE = " << (base_pkt_size + STATUS_BUFFER_SIZE) << "\n";
if (pktlen >= base_pkt_size + STATUS_BUFFER_SIZE) {
uint16_t launch_stage;
rbuffer.extract((char *)&launch_stage, base_pkt_size + 4,
Expand Down

0 comments on commit 886351e

Please sign in to comment.