Imported Upstream version 2.6.1
[debian/amanda] / client-src / noop.c
index fb3acbdd33d7e4f13b39ab3dddf8a4509e605521..1edf46f68e64d1940bf3b33dbeedcdf34382c3dc 100644 (file)
@@ -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*/
     }