mirror of
git://git.gnupg.org/gnupg.git
synced 2024-06-05 23:07:49 +02:00
* server.c (gpgsm_status2): Insert a blank between all optional
arguments when using assuan. * server.c (cmd_recipient): No more need for extra blank in constants. * import.c (print_imported_status): Ditto. * gpgsm.c (main): Ditto.
This commit is contained in:
parent
985b36ac07
commit
f48b2851f6
|
@ -1,3 +1,11 @@
|
|||
2002-07-03 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* server.c (gpgsm_status2): Insert a blank between all optional
|
||||
arguments when using assuan.
|
||||
* server.c (cmd_recipient): No more need for extra blank in constants.
|
||||
* import.c (print_imported_status): Ditto.
|
||||
* gpgsm.c (main): Ditto.
|
||||
|
||||
2002-07-02 Werner Koch <wk@gnupg.org>
|
||||
|
||||
* verify.c (gpgsm_verify): Extend the STATUS_BADSIG line with
|
||||
|
|
|
@ -1073,7 +1073,7 @@ main ( int argc, char **argv)
|
|||
rc == GNUPG_Certificate_Revoked? "4":
|
||||
rc == GNUPG_Certificate_Expired? "5":
|
||||
rc == GNUPG_No_CRL_Known? "6":
|
||||
rc == GNUPG_CRL_Too_Old? "8 ":
|
||||
rc == GNUPG_CRL_Too_Old? "7":
|
||||
rc == GNUPG_No_Policy_Match? "8":
|
||||
"0",
|
||||
sl->d, NULL);
|
||||
|
|
|
@ -248,7 +248,7 @@ cmd_recipient (ASSUAN_CONTEXT ctx, char *line)
|
|||
rc == GNUPG_Certificate_Revoked? "4":
|
||||
rc == GNUPG_Certificate_Expired? "5":
|
||||
rc == GNUPG_No_CRL_Known? "6":
|
||||
rc == GNUPG_CRL_Too_Old? "8 ":
|
||||
rc == GNUPG_CRL_Too_Old? "7":
|
||||
rc == GNUPG_No_Policy_Match? "8":
|
||||
"0",
|
||||
line, NULL);
|
||||
|
@ -873,7 +873,12 @@ gpgsm_status2 (CTRL ctrl, int no, ...)
|
|||
n = 0;
|
||||
while ( (text = va_arg (arg_ptr, const char *)) )
|
||||
{
|
||||
for ( ; *text && n < DIM (buf)-1; n++)
|
||||
if (n)
|
||||
{
|
||||
*p++ = ' ';
|
||||
n++;
|
||||
}
|
||||
for ( ; *text && n < DIM (buf)-2; n++)
|
||||
*p++ = *text++;
|
||||
}
|
||||
*p = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user