summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/analysis/binary.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/analysis/binary.c b/src/analysis/binary.c
index 05e42c7..fb715bb 100644
--- a/src/analysis/binary.c
+++ b/src/analysis/binary.c
@@ -973,7 +973,10 @@ GHubClient *g_loaded_binary_get_client(const GLoadedBinary *binary, bool interna
{
GHubClient *result; /* Instance à retourner */
- result = binary->local;
+ if (internal)
+ result = binary->local;
+ else
+ result = binary->remote;
if (result != NULL)
g_object_ref(G_OBJECT(result));