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

Thadeu Lima de Souza Cascardo cascardo en cascardo.eti.br
Jue Abr 20 15:21:51 UTC 2017


On Thu, Apr 20, 2017 at 12:06:38PM -0300, Gabriel F. T. Gomes wrote:
> On Thu, 20 Apr 2017 08:40:46 -0300
> Thadeu Lima de Souza Cascardo <cascardo en 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?

That makes sense, will resend this patch.

Thanks.
Cascardo.


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