summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-06-19 11:18:17 +0100
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-06-19 11:18:47 +0100
commitb3984339dbac408f4f3b1cdef117d81c91b1b0df (patch)
tree3c5f50d120fe1fdd88d7f9c4667cee4eb7edd0d4 /src/bin
parente2ba21e26624be8d17abe2019929fe19fcb0bf45 (diff)
inform users when eldbus-codegen is cowardly refusing to generate code
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/eldbus/parser.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/eldbus/parser.c b/src/bin/eldbus/parser.c
index 9f4081f..f695490 100644
--- a/src/bin/eldbus/parser.c
+++ b/src/bin/eldbus/parser.c
@@ -140,7 +140,10 @@ interface_close(void)
140{ 140{
141 //its not necessary generate code to FreeDesktop interfaces 141 //its not necessary generate code to FreeDesktop interfaces
142 if (!strncmp(iface->name, DBUS_INTERFACE, strlen(DBUS_INTERFACE))) 142 if (!strncmp(iface->name, DBUS_INTERFACE, strlen(DBUS_INTERFACE)))
143 interface_free(iface); 143 {
144 printf("Refusing to generate code for FDO interface; see eldbus_freedesktop.h\n");
145 interface_free(iface);
146 }
144 iface = NULL; 147 iface = NULL;
145} 148}
146 149