Ticket #11977: mythtv_fix_hdhr_ioctl.patch
File mythtv_fix_hdhr_ioctl.patch, 553 bytes (added by , 10 years ago) |
---|
-
mythtv/external/libhdhomerun/hdhomerun_sock_posix.c
diff --git a/mythtv/external/libhdhomerun/hdhomerun_sock_posix.c b/mythtv/external/libhdhomerun/hdhomerun_sock_posix.c index 74dcd7c..a1433c9 100644
a b int hdhomerun_local_ip_info(struct hdhomerun_local_ip_info_t ip_info_list[], int 101 101 char *end = ifc.ifc_buf + ifc.ifc_len; 102 102 103 103 int count = 0; 104 while (ptr < =end) {104 while (ptr < end) { 105 105 struct ifreq *ifr = (struct ifreq *)ptr; 106 106 ptr += _SIZEOF_ADDR_IFREQ(*ifr); 107 107