From fc720db54b729c80c45d648dbf03319f7d24a494 Mon Sep 17 00:00:00 2001 From: savago Date: Tue, 20 Jan 2009 16:19:10 +0000 Subject: [PATCH] Aesthetics. git-svn-id: http://svn.opensync.org/format-plugins/xsltformat@5210 53f5c7ee-bee3-0310-bbc5-ea0e15fffd5e --- src/xsltformat.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/xsltformat.c b/src/xsltformat.c index 48494703..11bc09d9 100644 --- a/src/xsltformat.c +++ b/src/xsltformat.c @@ -225,6 +225,7 @@ static osync_bool reg_conv(OSyncFormatEnv *env, osync_bool get_conversion_info(OSyncFormatEnv *env, OSyncError **error) { + osync_bool result; /* Supported formats */ OSyncObjFormat *xslt_contact = osync_format_env_find_objformat(env, "xslt-contact"); if (!xslt_contact) { @@ -240,16 +241,16 @@ osync_bool get_conversion_info(OSyncFormatEnv *env, OSyncError **error) } /* XSLT to xml-contact */ - osync_bool result = reg_conv(env, xslt_contact, xml_contact, - conv_xslt_to_contact, - initialize_xslt, finalize_xslt); + result = reg_conv(env, xslt_contact, xml_contact, + conv_xslt_to_contact, + initialize_xslt, finalize_xslt); if (!result) return FALSE; /* xml-contact to XSLT */ result = reg_conv(env, xml_contact, xslt_contact, - conv_contact_to_xslt, - initialize_xslt, finalize_xslt); + conv_contact_to_xslt, + initialize_xslt, finalize_xslt); return result; } -- 2.11.4.GIT