Some formatting

This commit is contained in:
Arnout Engelen
2016-03-27 21:48:25 +02:00
parent 1f26c3bd9e
commit 286a1a8ad2
2 changed files with 3 additions and 3 deletions

View File

@@ -15,8 +15,8 @@ extern "C" {
#define NETHOGS_APP_ACTION_REMOVE 2 #define NETHOGS_APP_ACTION_REMOVE 2
#define NETHOGS_STATUS_OK 0 #define NETHOGS_STATUS_OK 0
#define NETHOGS_STATUS_FAILURE 1 // generic error #define NETHOGS_STATUS_FAILURE 1
#define NETHOGS_STATUS_NO_DEVICE 2 // no device foundr #define NETHOGS_STATUS_NO_DEVICE 2
typedef struct NethogsMonitorRecord { typedef struct NethogsMonitorRecord {
int record_id; int record_id;

View File

@@ -277,7 +277,7 @@ char *Packet::gethashstring() {
free(remote_string); free(remote_string);
// if (DEBUG) // if (DEBUG)
// std::cout << "Returning newly created hash string: " << hashstring << // std::cout << "Returning newly created hash string: " << hashstring <<
//std::endl; // std::endl;
return hashstring; return hashstring;
} }