[PATCH 4/5] Allow client version to be specified.

Gabriel F. T. Gomes gabriel en gftg.com.br
Jue Abr 20 15:06:38 UTC 2017


On Thu, 20 Apr 2017 08:40:46 -0300
Thadeu Lima de Souza Cascardo <cascardo at cascardo.eti.br> wrote:

> In case the server from Receita Federal requires an updated version in
> the future, the user will be able to use a different version for the
> client without any need to rebuild or update rnetclient.
>
> diff --git a/rnetclient.c b/rnetclient.c
> index dad3901..29de38a 100644
> --- a/rnetclient.c
> +++ b/rnetclient.c

In the 2nd patch of this series you added the option --server-name to
the "Usage" line:

    diff --git a/rnetclient.c b/rnetclient.c
    index 946fa79..dad3901 100644
    --- a/rnetclient.c
    +++ b/rnetclient.c
    @@ -50,7 +50,10 @@ static const char rnetclient_doc[] =
 	"Send the Brazilian Income Tax Report to the Brazilian "
 	"Tax Authority";
     static const char rnetclient_args_doc[] =
    -	"[-d|--declaration] FILE [-o|--output-dir DIRECTORY]";
    +	"[-d|--declaration] FILE [-o|--output-dir DIRECTORY]"
    +	" [-s|--server-name SERVER]";
    +
    +#define RNET_ADDRESS "receitanet.receita.fazenda.gov.br"
 
Would you also like to add the --client-version to it?


Más información sobre la lista de distribución Softwares-impostos