diff options
author | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-03-20 22:18:49 +0000 |
---|---|---|
committer | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-03-20 22:18:49 +0000 |
commit | 4c825b7f84437cdeb7ec74e3903d9ef8ccf31418 (patch) | |
tree | 5874c83af7b10ca10acc55cd4953e09c5cb2d16e /apps | |
parent | ca75f39b6dcf889f6428b0af492ab4b143185db2 (diff) | |
download | ATCD-4c825b7f84437cdeb7ec74e3903d9ef8ccf31418.tar.gz |
Fixes to class declaration. Method return types should never be
implicit. Thanks to Craig Rodrigues (rodrigc@mediaone.net) for the
heads up.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/JAWS/stress_testing/connection.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/JAWS/stress_testing/connection.h b/apps/JAWS/stress_testing/connection.h index 5eaa164bc78..db37ff07f35 100644 --- a/apps/JAWS/stress_testing/connection.h +++ b/apps/JAWS/stress_testing/connection.h @@ -8,10 +8,10 @@ class connection { public: int connect(char *hostname_opt_port, int tcp_nodelay, int sockbufsiz); - read(void *buffer, size_t maxlen, unsigned int timeout_seconds = 60); - write(const void *buffer, size_t maxlen, unsigned int timeout_seconds = 60); - write_n(const void *buffer, size_t len, unsigned int timeout_seconds = 60); - read_n(void *buffer, size_t maxlen, unsigned int timeout_seconds = 60); + int read(void *buffer, size_t maxlen, unsigned int timeout_seconds = 60); + int write(const void *buffer, size_t maxlen, unsigned int timeout_seconds = 60); + int write_n(const void *buffer, size_t len, unsigned int timeout_seconds = 60); + int read_n(void *buffer, size_t maxlen, unsigned int timeout_seconds = 60); int close(void); ~connection(void); |