Merge pull request #2 from egor7/fix-s9proc-attach fix aname buffers in s9proc
1 files changed, 2 insertions(+), 2 deletions(-) M c9.c
M c9.c => c9.c +2 -2
@@ 1121,7 1121,7 @@ s9proc(C9ctx *c) if(cnt > sz) goto error; memmove(b-1, b, cnt); t.attach.aname = (char*)b; t.attach.aname = (char*)b-1; t.attach.aname[cnt] = 0; c->t(c, &t); @@ break; 1142,7 1142,7 @@ s9proc(C9ctx *c) if(cnt > sz) goto error; memmove(b-1, b, cnt); t.auth.aname = (char*)b; t.auth.aname = (char*)b-1; t.auth.aname[cnt] = 0; c->t(c, &t); break;