summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stringprep/stringprep_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stringprep/stringprep_drv.c b/src/stringprep/stringprep_drv.c
index 8007fb5f..a2e5e8fc 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);
}