diff options
Diffstat (limited to 'src/auditor')
-rw-r--r-- | src/auditor/taler-auditor-sync.c | 2 | ||||
-rw-r--r-- | src/auditor/taler-helper-auditor-wire.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/auditor/taler-auditor-sync.c b/src/auditor/taler-auditor-sync.c index 5f9111cea..ad55d7ccd 100644 --- a/src/auditor/taler-auditor-sync.c +++ b/src/auditor/taler-auditor-sync.c @@ -327,7 +327,7 @@ transact (struct TALER_EXCHANGEDB_Session *ss, static void do_sync (void *cls) { - struct GNUNET_TIME_Relative delay; + static struct GNUNET_TIME_Relative delay; struct TALER_EXCHANGEDB_Session *ss; struct TALER_EXCHANGEDB_Session *ds; diff --git a/src/auditor/taler-helper-auditor-wire.c b/src/auditor/taler-helper-auditor-wire.c index f98975c69..93834f46f 100644 --- a/src/auditor/taler-helper-auditor-wire.c +++ b/src/auditor/taler-helper-auditor-wire.c @@ -1942,14 +1942,14 @@ begin_transaction (void) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to initialize exchange database session.\n"); - return GNUNET_SYSERR; + return GNUNET_DB_STATUS_HARD_ERROR; } TALER_ARL_asession = TALER_ARL_adb->get_session (TALER_ARL_adb->cls); if (NULL == TALER_ARL_asession) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to initialize auditor database session.\n"); - return GNUNET_SYSERR; + return GNUNET_DB_STATUS_HARD_ERROR; } if (GNUNET_OK != TALER_ARL_adb->start (TALER_ARL_adb->cls, |