Print this page
10125 smatch fixes for cmd-inet
        
*** 36,46 ****
   * software developed by the University of California, Berkeley, and its
   * contributors.
   */
  
  /*
!  * Copyright (c) 2017, Joyent, Inc.
   */
  
  #include <assert.h>
  #include <stdio.h>
  #include <strings.h>
--- 36,46 ----
   * software developed by the University of California, Berkeley, and its
   * contributors.
   */
  
  /*
!  * Copyright (c) 2018, Joyent, Inc.
   */
  
  #include <assert.h>
  #include <stdio.h>
  #include <strings.h>
*** 1987,1997 ****
                                                  Fprintf(stderr,
                                                      "%s: recvmsg %s\n",
                                                      progname, strerror(errno));
                                          }
                                          continue;
!                                 } if (cc > 0) {
                                          check_reply(ai_dst, &in_msg, cc,
                                              udp_src_port);
                                  }
                          }
                  }
--- 1987,1997 ----
                                                  Fprintf(stderr,
                                                      "%s: recvmsg %s\n",
                                                      progname, strerror(errno));
                                          }
                                          continue;
!                                 } else if (cc > 0) {
                                          check_reply(ai_dst, &in_msg, cc,
                                              udp_src_port);
                                  }
                          }
                  }