changeset 359:061f8d75083d

uptools/libcoding/gsm7_encode.c: bug found on review
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 04 Mar 2018 05:16:34 +0000
parents 7154a231e4b5
children 68c8cf672ecd
files uptools/libcoding/gsm7_encode.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/uptools/libcoding/gsm7_encode.c	Wed Feb 07 07:30:22 2018 +0000
+++ b/uptools/libcoding/gsm7_encode.c	Sun Mar 04 05:16:34 2018 +0000
@@ -29,6 +29,7 @@
 			*op++ = c & 0x7F;
 		} else
 			*op++ = c;
+		outcnt += n;
 	}
 	*outlenp = outcnt;
 	return(0);