FdsAndSubprocs test: use ncplane_putnstr(s) #778

pull/783/head
nick black 4 years ago
parent ea183c0d66
commit 3457ffb59f
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -14,7 +14,7 @@ bool inline_cancelled = false;
auto testfdcb(struct ncfdplane* ncfd, const void* buf, size_t s, void* curry) -> int {
struct ncplane* n = ncfdplane_plane(ncfd);
lock.lock();
if(ncplane_putstr(n, static_cast<const char*>(buf)) <= 0){
if(ncplane_putnstr(n, s, static_cast<const char*>(buf)) <= 0){
lock.unlock();
return -1;
}

Loading…
Cancel
Save