* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 2016 */
+/* Copyright (c) University of Cambridge 1995 - 2018 */
/* See the file NOTICE for conditions of use and distribution. */
/* Many thanks to Stuart Lynne for contributing the original code for this
if (data)
{
(void) string_from_gstring(data);
- store_reset(data->s + data->ptr + 1);
+ gstring_reset_unused(data);
}
/* Copy the last dn into eldap_dn */