diff options
| -rw-r--r-- | sys/src/libaml/aml.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/libaml/aml.c b/sys/src/libaml/aml.c index e90e711f7..8615c6c1c 100644 --- a/sys/src/libaml/aml.c +++ b/sys/src/libaml/aml.c @@ -722,7 +722,8 @@ copy(int tag, void *s) case 'b': if(TAG(s) == 's'){ n = strlen(s); - /* zero length string is converted to zero length buffer */ if(n > 0) n++; + /* zero length string is converted to zero length buffer */ + if(n > 0) n++; } d = mk(tag, n); memmove(d, s, n); |
