Changeset 593

Show
Ignore:
Timestamp:
07/24/06 19:21:11 (2 years ago)
Author:
common
Message:

nepenthes

  • Socket.cpp close fd on failure, return if we could not open
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nepenthes/trunk/nepenthes-core/src/Socket.cpp

    r583 r593  
    519519        { 
    520520                logCrit("Could not open %s\n",_PATH_PROCNET_ARP); 
     521                return false; 
    521522        } 
    522523 
     
    543544                } 
    544545        } 
     546 
     547        fclose(fp); 
    545548        return false; 
    546549}