summaryrefslogtreecommitdiff
path: root/src/analysis/scan
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/scan')
-rw-r--r--src/analysis/scan/space.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/analysis/scan/space.c b/src/analysis/scan/space.c
index 909b96d..7dd9082 100644
--- a/src/analysis/scan/space.c
+++ b/src/analysis/scan/space.c
@@ -337,13 +337,15 @@ static bool g_scan_namespace_resolve(GScanNamespace *item, const char *target, G
bool result; /* Bilan à retourner */
size_t i; /* Boucle de parcours */
- result = true;
+ result = false;
for (i = 0; i < item->count; i++)
if (strcmp(target, item->names[i]) == 0)
{
*out = item->children[i];
g_object_ref(G_OBJECT(*out));
+
+ result = true;
break;
}