aboutsummaryrefslogtreecommitdiff
path: root/src/lib/sockio-c.c
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2012-08-18 23:57:06 +0000
committerdos-reis <gdr@axiomatics.org>2012-08-18 23:57:06 +0000
commit23e3d955132e04a74e804da81890e7fe9390bc30 (patch)
tree7f63971ab506c0a6c2ef86a74667e3b2ab329d91 /src/lib/sockio-c.c
parent3c41ecf6c94ad09fa023c402c39d18c72a76812a (diff)
downloadopen-axiom-23e3d955132e04a74e804da81890e7fe9390bc30.tar.gz
* boot/translator.boot (shoeOutParse): Fix thinko.
* lib/cfuns-c.c (oa_getcwd): Tidy. (oa_spawn): Likewise. * lib/sockio-c.c (send_string_len): Likewise. * utils/command.cc (option_value): Likewise. (execute_core): Likewise.
Diffstat (limited to 'src/lib/sockio-c.c')
-rw-r--r--src/lib/sockio-c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/sockio-c.c b/src/lib/sockio-c.c
index a29be625..a7efa4e2 100644
--- a/src/lib/sockio-c.c
+++ b/src/lib/sockio-c.c
@@ -663,7 +663,7 @@ send_string_len(openaxiom_sio *sock, const char *str,int len)
val = swrite(sock, (const Byte*) buf, len+1, "send_string_len");
}
if (val == -1) {
- return -1;
+ return val;
}
return 0;
}