projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 2.6.1
[debian/amanda]
/
client-src
/
noop.c
diff --git
a/client-src/noop.c
b/client-src/noop.c
index fb3acbdd33d7e4f13b39ab3dddf8a4509e605521..1edf46f68e64d1940bf3b33dbeedcdf34382c3dc 100644
(file)
--- 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;
amfree(our_feature_string);
am_release_feature_set(our_features);
our_features = NULL;
- if (full
write(1, options, strlen(options)) < 0
) {
+ if (full
_write(1, options, strlen(options)) < strlen(options)
) {
error(_("error sending noop response: %s"), strerror(errno));
/*NOTREACHED*/
}
error(_("error sending noop response: %s"), strerror(errno));
/*NOTREACHED*/
}