From ee48214209e66aa8c6f353262b175895373f76df Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sat, 4 Jan 2020 21:31:55 +0100 Subject: ... --- src/client.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/client.c') 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] ) { -- cgit v1.2.3-70-g09d2