summaryrefslogtreecommitdiffstats
path: root/src/af-gps-binding.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-07-08 16:05:27 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-07-08 16:05:27 +0200
commit437fee4749913f04328d5937b85e7eb0b7382a46 (patch)
treee611fc41664635527027cb7b761da71e14c0d1bf /src/af-gps-binding.c
parentf42e24266ef347c5fbdfc224dfd6933c5b6e23dd (diff)
adds log message when connected
Change-Id: Ia90b97125be798c069c15b32276514438943e6fd Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/af-gps-binding.c')
-rw-r--r--src/af-gps-binding.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/af-gps-binding.c b/src/af-gps-binding.c
index 2eee437..93254df 100644
--- a/src/af-gps-binding.c
+++ b/src/af-gps-binding.c
@@ -857,6 +857,8 @@ static int connect_to(const char *host, const char *service, int isgpsd)
if (rc < 0) {
close(fd);
ERROR(afbitf, "can't coonect host %s, service %s to the event loop", host, service);
+ } else {
+ NOTICE(afbitf, "Connected to host %s, service %s", host, service);
}
return rc;
}