From: Andreas Schneider Date: Thu, 3 Aug 2023 13:43:00 +0000 (+0200) Subject: s4:torture:ldap: Fix code spelling X-Git-Tag: tevent-0.16.0~921 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c4e84fd2a01bf4868062fca0f5f2384eaafcdc0;p=thirdparty%2Fsamba.git s4:torture:ldap: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- diff --git a/source4/torture/ldap/ldap_sort.c b/source4/torture/ldap/ldap_sort.c index 936015914c0..b28bd95952b 100644 --- a/source4/torture/ldap/ldap_sort.c +++ b/source4/torture/ldap/ldap_sort.c @@ -115,9 +115,9 @@ bool torture_ldap_sort(struct torture_context *torture) while( *(cur_txt) && *(prev_txt) && cur_len && prev_len ) { j = toupper_m(*(prev_txt))-toupper_m(*(cur_txt)); if ( j > 0 ) { - /* Just check that is not due to trailling white space in prev_txt + /* Just check that is not due to trailing white space in prev_txt * That is to say *cur_txt = 0 and prev_txt = 20 */ - /* Remove trailling whitespace */ + /* Remove trailing whitespace */ while ( *prev_txt == ' ' ) { prev_txt++; prev_len--;} while ( *cur_txt == ' ' ) { cur_txt++; cur_len--;} /* Now that potential whitespace are removed if we are at the end