Diff for /embedaddon/mtr/ui/split.c between versions 1.1 and 1.1.1.2

version 1.1, 2019/10/21 14:25:31 version 1.1.1.2, 2021/03/17 00:07:30
Line 15 Line 15
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.      GNU General Public License for more details.
   
    You should have received a copy of the GNU General Public License    You should have received a copy of the GNU General Public License along
    along with this program; if not, write to the Free Software    with this program; if not, write to the Free Software Foundation, Inc.,
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */  */
   
 #include "config.h"  #include "config.h"
Line 92  void split_redraw( Line 92  void split_redraw(
      */       */
     for (at = 0; at < max; at++) {      for (at = 0; at < max; at++) {
         addr = net_addr(at);          addr = net_addr(at);
        if (addrcmp((void *) addr, (void *) &ctl->unspec_addr, ctl->af)) {        if (addrcmp(addr, &ctl->unspec_addr, ctl->af)) {
             char str[256], *name;              char str[256], *name;
             if (!(name = dns_lookup(ctl, addr)))              if (!(name = dns_lookup(ctl, addr)))
                 name = strlongip(ctl, addr);                  name = strlongip(ctl, addr);
Line 166  int split_keyaction( Line 166  int split_keyaction(
     tv.tv_usec = 0;      tv.tv_usec = 0;
   
     if (select(1, &readfds, NULL, NULL, &tv) > 0) {      if (select(1, &readfds, NULL, NULL, &tv) > 0) {
        read(0, &c, 1);        if (read(0, &c, 1) <= 0) 
           return ActionQuit;
     } else      } else
         return 0;          return 0;
 #endif  #endif

Removed from v.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>