Diff for /embedaddon/mpd/src/radsrv.c between versions 1.1.1.4 and 1.1.1.4.2.1

version 1.1.1.4, 2021/03/17 00:39:23 version 1.1.1.4.2.1, 2023/09/27 11:08:01
Line 661  RadsrvOpen(Radsrv w) Line 661  RadsrvOpen(Radsrv w)
         return (-1);          return (-1);
     }      }
   
    if ((w->fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1) {    if ((w->fd = socket(PF_INET, socktype(SOCK_DGRAM), IPPROTO_UDP)) == -1) {
         Perror("%s: Cannot create socket", __FUNCTION__);          Perror("%s: Cannot create socket", __FUNCTION__);
         return (-1);          return (-1);
     }      }

Removed from v.1.1.1.4  
changed lines
  Added in v.1.1.1.4.2.1


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