1.1 --- a/client.c Tue Feb 28 22:33:52 2023 +0100
1.2 +++ b/client.c Thu Mar 23 00:32:22 2023 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Client code generation.
1.6 *
1.7 - * Copyright (C) 2019, 2020, 2021 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2019, 2020, 2021, 2022, 2023 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -125,7 +125,9 @@
1.13
1.14 /* Send the request. */
1.15
1.16 - fprintf(fp, client_function_body_call, opcode, "_endp");
1.17 + fprintf(fp, have_attribute(sig->attributes, "oneway") ?
1.18 + client_function_body_call_oneway : client_function_body_call,
1.19 + opcode, "_endp");
1.20
1.21 /* Retrieve output parameters from the message. */
1.22