From de4009fb4de679b2efe89e2736436060eb4a8e6d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Wed, 13 May 2015 06:57:06 +0200
Subject: Aborting units -> stopping units
---
plugins/ssh.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'plugins/ssh.c')
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
--
cgit v1.2.3