X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=client-src%2Fnoop.c;h=1edf46f68e64d1940bf3b33dbeedcdf34382c3dc;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=fb3acbdd33d7e4f13b39ab3dddf8a4509e605521;hpb=fb2bd066c2f8b34addafe48d62550e3033a59431;p=debian%2Famanda diff --git a/client-src/noop.c b/client-src/noop.c index fb3acbd..1edf46f 100644 --- a/client-src/noop.c +++ b/client-src/noop.c @@ -81,7 +81,7 @@ main( amfree(our_feature_string); am_release_feature_set(our_features); our_features = NULL; - if (fullwrite(1, options, strlen(options)) < 0) { + if (full_write(1, options, strlen(options)) < strlen(options)) { error(_("error sending noop response: %s"), strerror(errno)); /*NOTREACHED*/ }