--- embedaddon/mtr/ui/cmdpipe.c 2021/03/17 00:07:30 1.1.1.2 +++ embedaddon/mtr/ui/cmdpipe.c 2023/09/27 11:18:58 1.1.1.3 @@ -231,8 +231,8 @@ void execute_packet_child( */ execlp(mtr_packet_path, "mtr-packet", (char *) NULL); - /* - Then try to find it where WE were executed from. + /* + Then try to find it where WE were executed from. */ strncpy (buf, myname, 240); strcat (buf, "-packet"); @@ -355,7 +355,7 @@ void construct_base_command( const char *local_ip_type; const char *protocol = NULL; - /* Conver the remote IP address to a string */ + /* Convert the remote IP address to a string */ if (inet_ntop(ctl->af, address, ip_string, INET6_ADDRSTRLEN) == NULL) { display_close(ctl); @@ -742,7 +742,7 @@ void consume_reply_buffer( /* We may have multiple completed replies. Loop until we don't - have any more newlines termininating replies. + have any more newlines terminating replies. */ while (true) { /* If no newline is found, our reply isn't yet complete */ @@ -803,7 +803,7 @@ void handle_command_replies( reply_buffer = cmdpipe->reply_buffer; /* - Read the available reply text, up to the the remaining + Read the available reply text, up to the remaining buffer space. (Minus one for the terminating NUL.) */ read_buffer = &reply_buffer[cmdpipe->reply_buffer_used];