aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpgd.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2000-01-27 16:50:45 +0000
committerWerner Koch <[email protected]>2000-01-27 16:50:45 +0000
commitbaa30ad117e12c5182a78ede84c5103bea23616b (patch)
treef1d174362ee1855c5af77dcb917451e026c0a8d5 /g10/gpgd.c
parentSee ChangeLog: Mon Jan 24 22:24:38 CET 2000 Werner Koch (diff)
downloadgnupg-baa30ad117e12c5182a78ede84c5103bea23616b.tar.gz
gnupg-baa30ad117e12c5182a78ede84c5103bea23616b.zip
See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner Koch
Diffstat (limited to '')
-rw-r--r--g10/gpgd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/g10/gpgd.c b/g10/gpgd.c
index 50eb7db59..a11a6aacf 100644
--- a/g10/gpgd.c
+++ b/g10/gpgd.c
@@ -138,7 +138,7 @@ set_debug(void)
if( opt.debug & DBG_MPI_VALUE )
mpi_debug_mode = 1;
if( opt.debug & DBG_CIPHER_VALUE )
- g10c_debug_mode = 1;
+ gpgc_debug_mode = 1;
if( opt.debug & DBG_IOBUF_VALUE )
iobuf_debug_mode = 1;
}
@@ -201,7 +201,7 @@ main( int argc, char **argv )
else {
log_error("option file `%s': %s\n",
configname, strerror(errno) );
- g10_exit(1);
+ gpg_exit(1);
}
gcry_free(configname); configname = NULL;
}
@@ -235,7 +235,7 @@ main( int argc, char **argv )
}
gcry_free( configname ); configname = NULL;
if( log_get_errorcount(0) )
- g10_exit(2);
+ gpg_exit(2);
fprintf(stderr, "%s %s; %s\n", strusage(11), strusage(13), strusage(14) );
fprintf(stderr, "%s\n", strusage(15) );
@@ -245,13 +245,13 @@ main( int argc, char **argv )
become_daemon();
- g10_exit(0);
+ gpg_exit(0);
return 8; /*NEVER REACHED*/
}
void
-g10_exit( int rc )
+gpg_exit( int rc )
{
secmem_term();
rc = rc? rc : log_get_errorcount(0)? 2:0;