Changeset: a02997296566 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a02997296566
Modified Files:
clients/mapiclient/mclient.c
Branch: default
Log Message:
Fix output with newline.
diffs (12 lines):
diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
--- a/clients/mapiclient/mclient.c
+++ b/clients/mapiclient/mclient.c
@@ -389,7 +389,7 @@ utf8strlenmax(char *s, char *e, size_t m
case UTF8_ACCEPT:
if (codepoint == '\n') {
if (max) {
- *t = s;
+ *t = s - 1; /* before the \n */
return len;
}
len++;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]