diff options
author | dos-reis <gdr@axiomatics.org> | 2012-08-18 23:57:06 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2012-08-18 23:57:06 +0000 |
commit | 23e3d955132e04a74e804da81890e7fe9390bc30 (patch) | |
tree | 7f63971ab506c0a6c2ef86a74667e3b2ab329d91 /src/lib/sockio-c.c | |
parent | 3c41ecf6c94ad09fa023c402c39d18c72a76812a (diff) | |
download | open-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.c | 2 |
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; } |