mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fixed segv in gpg-agent (command marktrusted).
Replaced almost all free by xfree. Translation fixes.
This commit is contained in:
parent
3d39dc13d0
commit
138bf2dc15
46 changed files with 194 additions and 114 deletions
|
@ -896,6 +896,8 @@ show_version()
|
|||
void
|
||||
usage (int level)
|
||||
{
|
||||
const char *p;
|
||||
|
||||
if (!level)
|
||||
{
|
||||
fprintf(stderr,"%s %s; %s\n", strusage(11), strusage(13), strusage (14));
|
||||
|
@ -903,7 +905,10 @@ usage (int level)
|
|||
}
|
||||
else if (level == 1)
|
||||
{
|
||||
fputs (strusage (40), stderr);
|
||||
p = strusage (40);
|
||||
fputs (p, stderr);
|
||||
if (*p && p[strlen(p)] != '\n')
|
||||
putc ('\n', stderr);
|
||||
exit (2);
|
||||
}
|
||||
else if (level == 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue