Skip to content
Snippets Groups Projects
Commit c55008d6 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

only check logger for classic type

parent 8f39bbf3
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <66/sanitize.h> #include <66/sanitize.h>
#include <66/graph.h> #include <66/graph.h>
#include <66/svc.h> #include <66/svc.h>
#include <66/enum.h>
static void sanitize_it(resolve_service_t *res) static void sanitize_it(resolve_service_t *res)
{ {
...@@ -48,7 +49,7 @@ void svc_unsupervise(unsigned int *alist, unsigned int alen, graph_t *g, resolve ...@@ -48,7 +49,7 @@ void svc_unsupervise(unsigned int *alist, unsigned int alen, graph_t *g, resolve
sanitize_it(&ares[aresid]) ; sanitize_it(&ares[aresid]) ;
if (ares[aresid].logger.name) { if (ares[aresid].logger.name && ares[aresid].type == TYPE_CLASSIC) {
resolve_service_t res = RESOLVE_SERVICE_ZERO ; resolve_service_t res = RESOLVE_SERVICE_ZERO ;
resolve_wrapper_t_ref wres = resolve_set_struct(DATA_SERVICE, &res) ; resolve_wrapper_t_ref wres = resolve_set_struct(DATA_SERVICE, &res) ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment