diff options
author | gbr | 2020-04-27 03:32:10 -0300 |
---|---|---|
committer | gbr | 2020-04-27 03:32:10 -0300 |
commit | d2c9357c2103a509cfeb618726db1ada22289d67 (patch) | |
tree | b95f7bd3ee8b54454ef8c1850a02d5907f311947 /nethogsmonitor_init.patch | |
parent | 57ee8bee3591223736130c54f0543a93ae1ceec5 (diff) | |
download | aur-d2c9357c2103a509cfeb618726db1ada22289d67.tar.gz |
Compatibility fix for libnethogs 0.8.6
Diffstat (limited to 'nethogsmonitor_init.patch')
-rw-r--r-- | nethogsmonitor_init.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nethogsmonitor_init.patch b/nethogsmonitor_init.patch new file mode 100644 index 000000000000..e472664033b1 --- /dev/null +++ b/nethogsmonitor_init.patch @@ -0,0 +1,13 @@ +diff --git a/src/main.cpp b/src/main.cpp +index eca2f41..82d5783 100644 +--- a/src/main.cpp ++++ b/src/main.cpp +@@ -15,7 +15,7 @@ static void onNethogsUpdate(int action, NethogsMonitorRecord const* update) + + static void nethogsMonitorThreadProc() + { +- const int status = nethogsmonitor_loop(&onNethogsUpdate); ++ const int status = nethogsmonitor_loop(&onNethogsUpdate, NULL, 100); + PendingUpdates::setNetHogsMonitorStatus(status); + } + |