summaryrefslogtreecommitdiff
path: root/legacy/edbus/src/lib/edbus_core.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-12-14 16:28:46 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2012-12-14 16:28:46 +0000
commit57e49721802cd191ee1058b361e7eb534ff87b00 (patch)
treed84552010d533114cb66688d0ae216dfed89a7f4 /legacy/edbus/src/lib/edbus_core.c
parentd2a1198b511296b162e13a5ee3b17a1986fc514d (diff)
edbus: if you goto end, you don't use else
SVN revision: 80964
Diffstat (limited to '')
-rw-r--r--legacy/edbus/src/lib/edbus_core.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/legacy/edbus/src/lib/edbus_core.c b/legacy/edbus/src/lib/edbus_core.c
index 67db87342d..9ed8320f58 100644
--- a/legacy/edbus/src/lib/edbus_core.c
+++ b/legacy/edbus/src/lib/edbus_core.c
@@ -485,10 +485,12 @@ edbus_connection_name_get(EDBus_Connection *conn, const char *name)
485 cn->unique_id = eina_stringshare_add(name); 485 cn->unique_id = eina_stringshare_add(name);
486 goto end; 486 goto end;
487 } 487 }
488 else if (name[0] == ':') 488
489 if (name[0] == ':')
489 cn->unique_id = eina_stringshare_add(name); 490 cn->unique_id = eina_stringshare_add(name);
490 else 491 else
491 edbus_name_owner_get(conn, cn->name, on_get_name_owner, cn); 492 edbus_name_owner_get(conn, cn->name, on_get_name_owner, cn);
493
492 cn->name_owner_changed = _edbus_signal_handler_add(conn, EDBUS_FDO_BUS, 494 cn->name_owner_changed = _edbus_signal_handler_add(conn, EDBUS_FDO_BUS,
493 EDBUS_FDO_PATH, 495 EDBUS_FDO_PATH,
494 EDBUS_FDO_INTERFACE, 496 EDBUS_FDO_INTERFACE,