Some formatting
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user