summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-01-04 21:31:55 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2020-01-04 21:31:55 +0100
commitee48214209e66aa8c6f353262b175895373f76df (patch)
treec2b61a4bd702602d856f613992c46a802e0a888c /src/client.c
parent0c68e544b113f0493b9b80511c26c1e4584bd1e7 (diff)
...
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/client.c b/src/client.c
index b0459af..4d1f659 100644
--- a/src/client.c
+++ b/src/client.c
@@ -97,7 +97,7 @@ static int open_socket
static int send_commands
(
const int argc,
- const char * argv [const restrict static argc],
+ const char * const argv [const restrict static argc],
FILE socket [const restrict static 1]
)
{
@@ -158,16 +158,19 @@ static int receive_reply
FILE socket [const restrict static 1]
)
{
+ /* TODO: implement. */
+ (void) fclose(socket);
+
return 0;
}
/******************************************************************************/
/**** EXPORTED FUNCTIONS ******************************************************/
/******************************************************************************/
-int relabsd_client
+int relabsd_client_main
(
const int argc,
- const char * argv [const restrict static argc],
+ const char * const argv [const restrict static argc],
struct relabsd_parameters parameters [const restrict static 1]
)
{