diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-13 06:57:06 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-13 06:57:06 +0200 |
commit | de4009fb4de679b2efe89e2736436060eb4a8e6d (patch) | |
tree | 295e3f632b2f9efdd858904b851602c5d77ef96e /plugins/ssh.c | |
parent | b2cc2709c6fcf8d3fdc123e6d926be2d02c1221f (diff) | |
download | ponymap-de4009fb4de679b2efe89e2736436060eb4a8e6d.tar.gz ponymap-de4009fb4de679b2efe89e2736436060eb4a8e6d.tar.xz ponymap-de4009fb4de679b2efe89e2736436060eb4a8e6d.zip |
Aborting units -> stopping units
Diffstat (limited to 'plugins/ssh.c')
-rw-r--r-- | plugins/ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ssh.c b/plugins/ssh.c index 9d233da..8ce2e08 100644 --- a/plugins/ssh.c +++ b/plugins/ssh.c @@ -77,7 +77,7 @@ on_data (void *handle, const void *data, size_t len) g_data.api->unit_set_success (scan->u, true); end_scan: - g_data.api->unit_abort (scan->u); + g_data.api->unit_stop (scan->u); } static struct service g_ssh_service = @@ -90,7 +90,7 @@ static struct service g_ssh_service = .on_data = on_data, .on_eof = NULL, .on_error = NULL, - .on_aborted = NULL + .on_stopped = NULL }; static bool |