From 9192c75e1afbba0c006177bc9d8ce9d1f3c1f3c5 Mon Sep 17 00:00:00 2001 From: Badlop Date: Sun, 1 Nov 2009 12:15:34 +0000 Subject: [PATCH] Fix stringprep Bidi checking (thanks to Alexey Shchepin)(EJAB-1087) SVN Revision: 2717 --- src/stringprep/stringprep_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stringprep/stringprep_drv.c b/src/stringprep/stringprep_drv.c index 8007fb5f8..a2e5e8fc9 100644 --- a/src/stringprep/stringprep_drv.c +++ b/src/stringprep/stringprep_drv.c @@ -369,7 +369,7 @@ static int stringprep_erl_control(ErlDrvData drv_data, } last_ral = info & D1Mask; have_ral = have_ral || last_ral; - have_l = info & D2Mask; + have_l |= info & D2Mask; ADD_UCHAR(ruc); }