several code fixes and cleanups, revival of the 'unknown' process

This commit is contained in:
Arnout Engelen
2004-08-30 15:54:11 +00:00
parent 3b5ac96754
commit 0518d27924
7 changed files with 38 additions and 26 deletions

View File

@@ -37,13 +37,12 @@ public:
inode = m_inode;
name = m_name;
devicename = m_devicename;
incoming = NULL;
outgoing = NULL;
connections = NULL;
}
int getLastPacket ()
{
int lastpacket=0;
ConnList * curconn=incoming;
ConnList * curconn=connections;
while (curconn != NULL)
{
if (DEBUG)
@@ -64,8 +63,7 @@ public:
int uid;
unsigned long inode;
ConnList * incoming;
ConnList * outgoing;
ConnList * connections;
};
Process * getProcess (Connection * connection, char * devicename = NULL);