From: Ralph Boehme Date: Thu, 24 Oct 2019 15:26:08 +0000 (+0200) Subject: lib/adouble: README.Coding fix: multi-line if expression X-Git-Tag: talloc-2.3.1~207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baaaf59e948df625b01fa8b6317ab5c3babb4e8f;p=thirdparty%2Fsamba.git lib/adouble: README.Coding fix: multi-line if expression Also remove a TAB. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14171 Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- diff --git a/source3/lib/adouble.c b/source3/lib/adouble.c index 029645ffcea..ff3ba0dc48a 100644 --- a/source3/lib/adouble.c +++ b/source3/lib/adouble.c @@ -2206,7 +2206,8 @@ static ssize_t ad_read_rsrc_adouble(vfs_handle_struct *handle, if ((ad_getentryoff(ad, ADEID_FINDERI) != ADEDOFF_FINDERI_DOT_UND) || (ad_getentrylen(ad, ADEID_FINDERI) < ADEDLEN_FINDERI) - || (ad_getentryoff(ad, ADEID_RFORK) < ADEDOFF_RFORK_DOT_UND)) { + || (ad_getentryoff(ad, ADEID_RFORK) < ADEDOFF_RFORK_DOT_UND)) + { DBG_ERR("invalid AppleDouble resource %s\n", smb_fname->base_name); errno = EINVAL;