diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-11 08:47:33 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-11 08:47:33 +0000 |
commit | bdb2332aea0b10271be0096fb4ed18aefe79ea95 (patch) | |
tree | 6a9794dc000823e9871f15f53d123d5b861fd7c4 /src/peerstore/gnunet-service-peerstore.c | |
parent | 48fa0ba8abea2464b2df67247ae1bd50d0f1f934 (diff) |
minor fixes including string internationalization
Diffstat (limited to 'src/peerstore/gnunet-service-peerstore.c')
-rw-r--r-- | src/peerstore/gnunet-service-peerstore.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/peerstore/gnunet-service-peerstore.c b/src/peerstore/gnunet-service-peerstore.c index 140db80d87..771de72d48 100644 --- a/src/peerstore/gnunet-service-peerstore.c +++ b/src/peerstore/gnunet-service-peerstore.c @@ -42,7 +42,7 @@ static const struct GNUNET_CONFIGURATION_Handle *cfg; /** * Database plugin library name */ -char *db_lib_name; +static char *db_lib_name; /** * Database handle @@ -268,13 +268,13 @@ void handle_iterate (void *cls, record = PEERSTORE_parse_record_message(message); if(NULL == record) { - GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "Malformed iterate request from client\n"); + GNUNET_log(GNUNET_ERROR_TYPE_ERROR, _("Malformed iterate request from client\n")); GNUNET_SERVER_receive_done(client, GNUNET_SYSERR); return; } if(NULL == record->sub_system) { - GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "Sub system not supplied in client iterate request\n"); + GNUNET_log(GNUNET_ERROR_TYPE_ERROR, _("Sub system not supplied in client iterate request\n")); GNUNET_SERVER_receive_done(client, GNUNET_SYSERR); return; } @@ -321,7 +321,7 @@ void handle_store (void *cls, record = PEERSTORE_parse_record_message(message); if(NULL == record) { - GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "Malformed store request from client\n"); + GNUNET_log(GNUNET_ERROR_TYPE_ERROR, _("Malformed store request from client\n")); GNUNET_SERVER_receive_done(client, GNUNET_SYSERR); return; } @@ -330,7 +330,7 @@ void handle_store (void *cls, || NULL == record->peer || NULL == record->key) { - GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "Full key not supplied in client store request\n"); + GNUNET_log(GNUNET_ERROR_TYPE_ERROR, _("Full key not supplied in client store request\n")); PEERSTORE_destroy_record(record); GNUNET_SERVER_receive_done(client, GNUNET_SYSERR); return; @@ -349,7 +349,7 @@ void handle_store (void *cls, *record->expiry, srm->options)) { - GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "Failed to store requested value, sqlite database error."); + GNUNET_log(GNUNET_ERROR_TYPE_ERROR, _("Failed to store requested value, sqlite database error.")); PEERSTORE_destroy_record(record); GNUNET_SERVER_receive_done(client, GNUNET_SYSERR); return; |