Ticket #2607: hp.patch

File hp.patch, 482 bytes (added by jim@…, 18 years ago)
  • libs/libmythtv/dbox2recorder.cpp

     
    244244    VERBOSE(VB_RECORD, LOC + "Opening pids " + message);
    245245
    246246    struct hostent * hp = gethostbyname(ip);
     247    if (hp == NULL)
     248    {
     249        return -1;
     250    }
     251
    247252    struct sockaddr_in adr;
    248253    memset ((char *)&adr, 0, sizeof(struct sockaddr_in));
    249254