Changeset 841

Show
Ignore:
Timestamp:
02/07/07 13:33:41 (2 years ago)
Author:
oxff
Message:

nepenthes.x-4: made hexdump an event.. really ;)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nepenthes/trunk/modules/x-4/x-4.cpp

    r332 r841  
    3434#include "SubmitManager.hpp" 
    3535#include "LogManager.hpp" 
     36#include "EventManager.hpp" 
     37#include "SocketEvent.hpp" 
    3638 
    3739using namespace nepenthes; 
     
    119121void X4::Submit(Download *down) 
    120122{ 
    121         m_Nepenthes->getUtilities()->hexdump((byte *)down->getDownloadBuffer()->getData(),down->getDownloadBuffer()->getSize()); 
     123        // m_Nepenthes->getUtilities()->hexdump((byte *)down->getDownloadBuffer()->getData(),down->getDownloadBuffer()->getSize()); 
     124        HEXDUMP(m_Socket, (byte *) down->getDownloadBuffer()->getData(), down->getDownloadBuffer()->getSize()); 
    122125} 
    123126