[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1744 - in GNUnet/src: applications/advertising application
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1744 - in GNUnet/src: applications/advertising applications/bootstrap_http applications/chat applications/datastore applications/dht/module applications/dht/tools applications/fragmentation applications/fs/ecrs applications/fs/fsui applications/fs/module applications/fs/tools applications/gap applications/getoption applications/identity applications/pingpong applications/rpc applications/session applications/sqstore_mysql applications/sqstore_sqlite applications/stats applications/tbench applications/template applications/testbed applications/topology_default applications/topology_f2f applications/tracekit applications/transport conf include server transports util |
Date: |
Thu, 18 Aug 2005 21:09:45 -0700 (PDT) |
Author: grothoff
Date: 2005-08-18 21:09:20 -0700 (Thu, 18 Aug 2005)
New Revision: 1744
Modified:
GNUnet/src/applications/advertising/advertising.c
GNUnet/src/applications/bootstrap_http/http.c
GNUnet/src/applications/chat/chat.c
GNUnet/src/applications/chat/gnunet-chat.c
GNUnet/src/applications/datastore/datastore.c
GNUnet/src/applications/datastore/filter.c
GNUnet/src/applications/dht/module/cs.c
GNUnet/src/applications/dht/module/dht.c
GNUnet/src/applications/dht/tools/dht-join.c
GNUnet/src/applications/dht/tools/dht-query.c
GNUnet/src/applications/dht/tools/dht_api.c
GNUnet/src/applications/fragmentation/fragmentation.c
GNUnet/src/applications/fs/ecrs/download.c
GNUnet/src/applications/fs/ecrs/ecrstest.c
GNUnet/src/applications/fs/ecrs/meta.c
GNUnet/src/applications/fs/ecrs/namespace.c
GNUnet/src/applications/fs/ecrs/searchtest.c
GNUnet/src/applications/fs/ecrs/upload.c
GNUnet/src/applications/fs/fsui/download.c
GNUnet/src/applications/fs/fsui/fsui.c
GNUnet/src/applications/fs/module/fs.c
GNUnet/src/applications/fs/module/ondemand.c
GNUnet/src/applications/fs/module/querymanager.c
GNUnet/src/applications/fs/tools/gnunet-delete.c
GNUnet/src/applications/fs/tools/gnunet-directory.c
GNUnet/src/applications/fs/tools/gnunet-download.c
GNUnet/src/applications/fs/tools/gnunet-insert.c
GNUnet/src/applications/fs/tools/gnunet-pseudonym.c
GNUnet/src/applications/fs/tools/gnunet-search.c
GNUnet/src/applications/fs/tools/gnunet-unindex.c
GNUnet/src/applications/gap/gap.c
GNUnet/src/applications/gap/gaptest.c
GNUnet/src/applications/getoption/getoption.c
GNUnet/src/applications/identity/hostkey.c
GNUnet/src/applications/identity/identity.c
GNUnet/src/applications/pingpong/pingpong.c
GNUnet/src/applications/rpc/rpc.c
GNUnet/src/applications/session/connect.c
GNUnet/src/applications/sqstore_mysql/mysql.c
GNUnet/src/applications/sqstore_sqlite/sqlite.c
GNUnet/src/applications/stats/statistics.c
GNUnet/src/applications/tbench/gnunet-tbench.c
GNUnet/src/applications/template/template.c
GNUnet/src/applications/testbed/gnunet-testbed.c
GNUnet/src/applications/testbed/testbed.c
GNUnet/src/applications/topology_default/topology.c
GNUnet/src/applications/topology_f2f/topology.c
GNUnet/src/applications/tracekit/gnunet-tracekit.c
GNUnet/src/applications/tracekit/tracekit.c
GNUnet/src/applications/transport/transport.c
GNUnet/src/conf/conf.c
GNUnet/src/conf/confdata.c
GNUnet/src/conf/gnunet-setup.c
GNUnet/src/conf/menu.c
GNUnet/src/conf/recreate.c
GNUnet/src/conf/wizard_callbacks.c
GNUnet/src/conf/zconf_tab.c
GNUnet/src/include/gnunet_util.h
GNUnet/src/server/connection.c
GNUnet/src/server/core.c
GNUnet/src/server/gnunet-peer-info.c
GNUnet/src/server/gnunet-transport-check.c
GNUnet/src/server/gnunet-update.c
GNUnet/src/server/gnunetd.c
GNUnet/src/server/handler.c
GNUnet/src/server/startup.c
GNUnet/src/server/tcpserver.c
GNUnet/src/transports/http.c
GNUnet/src/transports/ip.c
GNUnet/src/transports/ip6.c
GNUnet/src/transports/smtp.c
GNUnet/src/transports/tcp.c
GNUnet/src/transports/tcp6.c
GNUnet/src/transports/udp.c
GNUnet/src/transports/udp6.c
GNUnet/src/util/configuration.c
GNUnet/src/util/cron.c
GNUnet/src/util/daemon.c
GNUnet/src/util/dso.c
GNUnet/src/util/hostkey_gcrypt.c
GNUnet/src/util/ipcheck.c
GNUnet/src/util/logging.c
GNUnet/src/util/port.c
GNUnet/src/util/semaphore.c
GNUnet/src/util/statuscalls.c
GNUnet/src/util/storage.c
GNUnet/src/util/symcipher_gcrypt.c
GNUnet/src/util/tcp_return.c
GNUnet/src/util/tcpio.c
Log:
quote GNU style
Modified: GNUnet/src/applications/advertising/advertising.c
===================================================================
--- GNUnet/src/applications/advertising/advertising.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/advertising/advertising.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -153,7 +153,7 @@
hash2enc(&msg->senderIdentity.hashPubKey,
&enc));
LOG(LOG_WARNING,
- _("hello message from '%s' invalid (signature invalid). Dropping.\n"),
+ _("hello message from `%s' invalid (signature invalid). Dropping.\n"),
(char*)&enc);
return SYSERR; /* message invalid */
}
@@ -300,7 +300,7 @@
}
if (heloEnd <= 0) {
LOG(LOG_WARNING,
- _("'%s' failed (%d, %u). Will not send PING.\n"),
+ _("`%s' failed (%d, %u). Will not send PING.\n"),
"getAdvertisedhellos",
heloEnd,
mtu - ntohs(ping->size));
@@ -354,7 +354,7 @@
&other);
#if DEBUG_ADVERTISING
LOG(LOG_DEBUG,
- "Entering '%s' with target '%s'.\n",
+ "Entering `%s' with target `%s'.\n",
__FUNCTION__,
&other);
#endif
@@ -389,7 +389,7 @@
if (NULL == helo) {
#if DEBUG_ADVERTISING
LOG(LOG_DEBUG,
- "Exit from '%s' (error: '%s' failed).\n",
+ "Exit from `%s' (error: `%s' failed).\n",
__FUNCTION__,
"identity2Helo");
#endif
@@ -400,7 +400,7 @@
if (tsession == NULL) {
#if DEBUG_ADVERTISING
LOG(LOG_DEBUG,
- "Exit from '%s' (%s error).\n",
+ "Exit from `%s' (%s error).\n",
__FUNCTION__,
"transportConnect");
#endif
@@ -436,7 +436,7 @@
return; /* ignore */
#if DEBUG_ADVERTISING
LOG(LOG_CRON,
- "Enter '%s'.\n",
+ "Enter `%s'.\n",
__FUNCTION__);
#endif
cronTime(&now);
@@ -466,7 +466,7 @@
FREE(sd.m);
#if DEBUG_ADVERTISING
LOG(LOG_CRON,
- "Exit '%s'.\n",
+ "Exit `%s'.\n",
__FUNCTION__);
#endif
}
@@ -557,7 +557,7 @@
hash2enc(&peer->hashPubKey,
&enc));
LOG(LOG_INFO,
- _("Removing hello from peer '%s' (expired %ds ago).\n"),
+ _("Removing hello from peer `%s' (expired %ds ago).\n"),
&enc,
now - ntohl(helo->expirationTime));
identity->delHostFromKnown(peer, protocol);
@@ -589,7 +589,7 @@
return; /* CPU load too high... */
#if DEBUG_ADVERTISING
LOG(LOG_CRON,
- "Enter '%s'.\n",
+ "Enter `%s'.\n",
__FUNCTION__);
#endif
count = identity->forEachHost(0,
@@ -600,7 +600,7 @@
&count);
#if DEBUG_ADVERTISING
LOG(LOG_CRON,
- "Exit '%s'.\n",
+ "Exit `%s'.\n",
__FUNCTION__);
#endif
}
@@ -723,7 +723,7 @@
}
LOG(LOG_DEBUG,
- _("'%s' registering handler %d (plaintext and ciphertext)\n"),
+ _("`%s' registering handler %d (plaintext and ciphertext)\n"),
"advertising",
p2p_PROTO_hello);
Modified: GNUnet/src/applications/bootstrap_http/http.c
===================================================================
--- GNUnet/src/applications/bootstrap_http/http.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/bootstrap_http/http.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -78,7 +78,7 @@
if (0 != strncmp(HTTP_URL, url, strlen(HTTP_URL)) ) {
LOG(LOG_WARNING,
- _("Invalid URL '%s' (must begin with '%s')\n"),
+ _("Invalid URL `%s' (must begin with `%s')\n"),
url,
HTTP_URL);
return;
@@ -117,7 +117,7 @@
sock = SOCKET(PF_INET, SOCK_STREAM, 0);
if (sock < 0) {
LOG(LOG_ERROR,
- _("'%s' failed at %s:%d with error: '%s'.\n"),
+ _("`%s' failed at %s:%d with error: `%s'.\n"),
"socket",
__FILE__, __LINE__,
STRERROR(errno));
@@ -130,7 +130,7 @@
ip_info = GETHOSTBYNAME(hostname);
if (ip_info == NULL) {
LOG(LOG_WARNING,
- _("Could not download list of peer contacts, host '%s' unknown.\n"),
+ _("Could not download list of peer contacts, host `%s' unknown.\n"),
hostname);
FREE(filename);
return;
@@ -152,7 +152,7 @@
(struct sockaddr*)&soaddr,
sizeof(soaddr)) < 0) {
LOG(LOG_WARNING,
- _("'%s' to '%s' failed at %s:%d with error: %s\n"),
+ _("`%s' to `%s' failed at %s:%d with error: %s\n"),
"connect",
hostname,
__FILE__, __LINE__,
@@ -178,7 +178,7 @@
curpos);
if (SYSERR == (int)curpos) {
LOG(LOG_WARNING,
- _("'%s' to '%s' failed at %s:%d with error: %s\n"),
+ _("`%s' to `%s' failed at %s:%d with error: %s\n"),
"send",
hostname,
__FILE__, __LINE__,
@@ -214,7 +214,7 @@
if (curpos < 4) { /* we have not found it */
LOG(LOG_WARNING,
- _("Parsing HTTP response for URL '%s' failed.\n"),
+ _("Parsing HTTP response for URL `%s' failed.\n"),
url);
closefile(sock);
return;
@@ -249,7 +249,7 @@
if (curpos != P2P_hello_MESSAGE_size(helo)) {
if (curpos != 0)
LOG(LOG_WARNING,
- _("Parsing hello from '%s' failed.\n"),
+ _("Parsing hello from `%s' failed.\n"),
url);
break;
}
@@ -281,7 +281,7 @@
}
#if DEBUG_HTTP
LOG(LOG_DEBUG,
- "Trying to bootstrap with peers from '%s'\n",
+ "Trying to bootstrap with peers from `%s'\n",
url);
#endif
cnt = 1;
@@ -327,7 +327,7 @@
ip = GETHOSTBYNAME(proxy);
if (ip == NULL) {
LOG(LOG_ERROR,
- _("Could not resolve name of HTTP proxy '%s'. Trying without a
proxy.\n"),
+ _("Could not resolve name of HTTP proxy `%s'. Trying without a
proxy.\n"),
proxy);
theProxy.sin_addr.s_addr = 0;
} else {
Modified: GNUnet/src/applications/chat/chat.c
===================================================================
--- GNUnet/src/applications/chat/chat.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/applications/chat/chat.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -192,7 +192,7 @@
clientCount = 0;
coreAPI = capi;
LOG(LOG_DEBUG,
- _("'%s' registering handlers %d and %d\n"),
+ _("`%s' registering handlers %d and %d\n"),
"chat",
P2P_PROTO_chat_MSG,
CS_PROTO_chat_MSG);
Modified: GNUnet/src/applications/chat/gnunet-chat.c
===================================================================
--- GNUnet/src/applications/chat/gnunet-chat.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/chat/gnunet-chat.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -150,7 +150,7 @@
nick = getConfigurationString("GNUNET-CHAT", "NICK");
if (nick == NULL)
- errexit(_("You must specify a nickname (use option '%s').\n"),
+ errexit(_("You must specify a nickname (use option `%s').\n"),
"-n");
doneSem = SEMAPHORE_NEW(0);
Modified: GNUnet/src/applications/datastore/datastore.c
===================================================================
--- GNUnet/src/applications/datastore/datastore.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/datastore/datastore.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -35,6 +35,8 @@
#include "filter.h"
#include "prefetch.h"
+#define DEBUG_DATASTORE NO
+
/**
* Require 1 MB 'free' space.
*/
@@ -74,12 +76,14 @@
EncName enc;
if (! testAvailable(query)) {
+#if DEBUG_DATASTORE
IFLOG(LOG_DEBUG,
hash2enc(query,
&enc));
LOG(LOG_DEBUG,
- "Datastore availability pre-test failed for %s.\n",
+ "Datastore availability pre-test failed for `%s'.\n",
&enc);
+#endif
return 0;
}
@@ -104,7 +108,7 @@
hash2enc(query,
&enc));
LOG(LOG_WARNING,
- _("Availability test failed for '%s' at %s:%d.\n"),
+ _("Availability test failed for `%s' at %s:%d.\n"),
&enc,
__FILE__, __LINE__);
return 0;
@@ -115,18 +119,20 @@
makeUnavailable(query); /* update filter! */
available += ntohl(value->size);
}
+#if DEBUG_DATASTORE
IFLOG(LOG_DEBUG,
hash2enc(query,
&enc));
LOG(LOG_DEBUG,
- "Deleted '%s' from database.\n",
+ "Deleted `%s' from database.\n",
&enc);
+#endif
} else {
IFLOG(LOG_WARNING,
hash2enc(query,
&enc));
LOG(LOG_WARNING,
- _("Database failed to delete %s.\n"),
+ _("Database failed to delete `%s'.\n"),
&enc);
}
return ok;
Modified: GNUnet/src/applications/datastore/filter.c
===================================================================
--- GNUnet/src/applications/datastore/filter.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/datastore/filter.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -40,7 +40,7 @@
fn = getFileName("FS",
"DIR",
_("Configuration must specify directory for "
- "FS data in section '%s' under '%s'.\n"));
+ "FS data in section `%s' under `%s'.\n"));
mkdirp(fn);
bf = MALLOC(strlen(fn)+
strlen("/bloomfilter")+1);
Modified: GNUnet/src/applications/dht/module/cs.c
===================================================================
--- GNUnet/src/applications/dht/module/cs.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/dht/module/cs.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -437,7 +437,7 @@
}
MUTEX_UNLOCK(&csLock);
LOG(LOG_WARNING,
- _("'%s' failed: table not found!\n"),
+ _("`%s' failed: table not found!\n"),
"CS_DHT_LEAVE");
return sendAck(client,
&req->table,
@@ -453,7 +453,7 @@
&record->table,
record->replicas)) {
LOG(LOG_FAILURE,
- _("'%s' failed. Terminating connection to client.\n"),
+ _("`%s' failed. Terminating connection to client.\n"),
"sendAck");
coreAPI->terminateClientConnection(record->client);
}
@@ -631,7 +631,7 @@
value,
ntohl(value->size));
LOG(LOG_DEBUG,
- "'%s' processes reply '%.*s'\n",
+ "`%s' processes reply '%.*s'\n",
__FUNCTION__,
ntohl(value->size) - sizeof(DataContainer),
&value[1]);
@@ -641,7 +641,7 @@
if (OK != coreAPI->sendToClient(record->client,
&msg->header)) {
LOG(LOG_FAILURE,
- _("'%s' failed. Terminating connection to client.\n"),
+ _("`%s' failed. Terminating connection to client.\n"),
"sendToClient");
coreAPI->terminateClientConnection(record->client);
}
@@ -658,7 +658,7 @@
&record->table,
SYSERR)) {
LOG(LOG_FAILURE,
- _("'%s' failed. Terminating connection to client.\n"),
+ _("`%s' failed. Terminating connection to client.\n"),
"sendAck");
coreAPI->terminateClientConnection(record->client);
}
@@ -667,7 +667,7 @@
&record->table,
record->count)) {
LOG(LOG_FAILURE,
- _("'%s' failed. Terminating connection to client.\n"),
+ _("`%s' failed. Terminating connection to client.\n"),
"sendAck");
coreAPI->terminateClientConnection(record->client);
}
@@ -766,7 +766,7 @@
return SYSERR;
req =(CS_dht_reply_ack_MESSAGE*) message;
LOG(LOG_EVERYTHING,
- "'%s' received from client.\n",
+ "`%s' received from client.\n",
"CS_dht_reply_ack_MESSAGE");
MUTEX_LOCK(&csLock);
for (i=0;i<csHandlersCount;i++) {
@@ -783,7 +783,7 @@
}
MUTEX_UNLOCK(&csLock);
LOG(LOG_ERROR,
- _("Failed to deliver '%s' message.\n"),
+ _("Failed to deliver `%s' message.\n"),
"CS_dht_reply_ack_MESSAGE");
return SYSERR; /* failed to signal */
}
@@ -811,7 +811,7 @@
return SYSERR;
}
LOG(LOG_EVERYTHING,
- "'%s' received from client.\n",
+ "`%s' received from client.\n",
"CS_dht_reply_results_MESSAGE");
MUTEX_LOCK(&csLock);
for (i=0;i<csHandlersCount;i++) {
@@ -821,7 +821,7 @@
ptr = csHandlers[i];
SEMAPHORE_DOWN(ptr->postreply);
LOG(LOG_EVERYTHING,
- "'%s' received result '%.*s'!\n",
+ "`%s' received result '%.*s'!\n",
__FUNCTION__,
dataLength - sizeof(DataContainer),
&(&req->data)[1]);
@@ -836,7 +836,7 @@
}
MUTEX_UNLOCK(&csLock);
LOG(LOG_ERROR,
- _("Failed to deliver '%s' message.\n"),
+ _("Failed to deliver `%s' message.\n"),
"CS_dht_reply_results_MESSAGE");
return SYSERR; /* failed to deliver */
}
Modified: GNUnet/src/applications/dht/module/dht.c
===================================================================
--- GNUnet/src/applications/dht/module/dht.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/dht/module/dht.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -823,7 +823,7 @@
hash2enc(&coreAPI->myIdentity->hashPubKey,
&enc2);
LOG(LOG_DEBUG,
- "Bit-distance from '%s' to this peer '%s' is %u bit.\n",
+ "Bit-distance from `%s' to this peer `%s' is %u bit.\n",
&enc1,
&enc2,
index);
@@ -939,7 +939,7 @@
hash2enc(&responder->hashPubKey,
&enc));
LOG(LOG_WARNING,
- _("Malformed optional field '%s' received from peer '%s'.\n"),
+ _("Malformed optional field `%s' received from peer `%s'.\n"),
"tables",
&enc);
return;
@@ -952,7 +952,7 @@
hash2enc(&responder->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "updating routing table after learning about peer '%s' who provides %d
tables.\n",
+ "updating routing table after learning about peer `%s' who provides %d
tables.\n",
&enc,
tableCount);
#endif
@@ -966,7 +966,7 @@
hash2enc(&responder->hashPubKey,
&enc));
LOG(LOG_WARNING,
- _("Could not find peer '%s' in routing table!\n"),
+ _("Could not find peer `%s' in routing table!\n"),
&enc);
}
GNUNET_ASSERT(bucket != NULL);
@@ -1011,7 +1011,7 @@
hash2enc(&responder->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "routing table full, not adding peer '%s'.\n",
+ "routing table full, not adding peer `%s'.\n",
&enc);
#endif
} else {
@@ -1020,7 +1020,7 @@
hash2enc(&responder->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "adding peer '%s' to routing table.\n",
+ "adding peer `%s' to routing table.\n",
&enc);
#endif
@@ -1113,7 +1113,7 @@
hash2enc(&responder->hashPubKey,
&enc));
LOG(LOG_WARNING,
- _("Received malformed response to '%s' from peer '%s'.\n"),
+ _("Received malformed response to `%s' from peer `%s'.\n"),
"DHT_findNode",
&enc);
return;
@@ -1128,7 +1128,7 @@
hash2enc(&responder->hashPubKey,
&enc));
LOG(LOG_WARNING,
- _("Received malformed response to '%s' from peer '%s'.\n"),
+ _("Received malformed response to `%s' from peer `%s'.\n"),
"DHT_findNode",
&enc);
return;
@@ -1142,14 +1142,14 @@
hash2enc(&responder->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "processing PeerID received from peer '%s' in response to '%s' RPC.\n",
+ "processing PeerID received from peer `%s' in response to `%s' RPC.\n",
&enc,
"DHT_findNode");
IFLOG(LOG_DEBUG,
hash2enc(&msg->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "sending RPC '%s' to learn more about peer '%s'.\n",
+ "sending RPC `%s' to learn more about peer `%s'.\n",
"DHT_ping",
&enc);
#endif
@@ -1178,7 +1178,7 @@
hash2enc(&peer->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "sending RPC '%s' to peer '%s'.\n",
+ "sending RPC `%s' to peer `%s'.\n",
"DHT_find_nodes",
&enc);
#endif
@@ -1261,7 +1261,7 @@
hash2enc(&responder->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "peer '%s' supports table in question, considering the peer for list of
%d-best matches.\n",
+ "peer `%s' supports table in question, considering the peer for list of
%d-best matches.\n",
&enc,
ALPHA);
#endif
@@ -1294,7 +1294,7 @@
hash2enc(&identity->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "sending RPC '%s' to peer '%s'.\n",
+ "sending RPC `%s' to peer `%s'.\n",
"DHT_ping",
&enc);
#endif
@@ -1359,7 +1359,7 @@
hash2enc(table,
&enc));
LOG(LOG_DEBUG,
- "searching local table for peers supporting table '%s'.\n",
+ "searching local table for peers supporting table `%s'.\n",
&enc);
#endif
ENTER();
@@ -1380,7 +1380,7 @@
hash2enc(&pos->id.hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "local table search showed peer '%s' is supporting the table.\n",
+ "local table search showed peer `%s' is supporting the table.\n",
&enc);
#endif
k_best_insert(k,
@@ -1425,7 +1425,7 @@
hash2enc(&responder->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "peer '%s' responded to RPC '%s' with %u results.\n",
+ "peer `%s' responded to RPC `%s' with %u results.\n",
&enc,
"DHT_findvalue",
max);
@@ -1437,7 +1437,7 @@
hash2enc(&responder->hashPubKey,
&enc);
LOG(LOG_WARNING,
- _("Invalid response to '%s' from peer '%s'.\n"),
+ _("Invalid response to `%s' from peer `%s'.\n"),
"DHT_findValue",
&enc);
return;
@@ -1472,7 +1472,7 @@
hash2enc(&peer->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "sending RPC '%s' to peer '%s'.\n",
+ "sending RPC `%s' to peer `%s'.\n",
"DHT_findvalue",
&enc);
#endif
@@ -1582,7 +1582,7 @@
hash2enc(table,
&enc2));
LOG(LOG_DEBUG,
- "performing '%s' operation on key '%s' and table '%s'.\n",
+ "performing `%s' operation on key `%s' and table `%s'.\n",
"DHT_GET",
&enc,
&enc2);
@@ -1590,7 +1590,7 @@
if (timeout > 1 * cronHOURS) {
LOG(LOG_WARNING,
- _("'%s' called with timeout above 1 hour (bug?)\n"),
+ _("`%s' called with timeout above 1 hour (bug?)\n"),
__FUNCTION__);
timeout = 1 * cronHOURS;
}
@@ -1624,7 +1624,7 @@
hash2enc(table,
&enc));
LOG(LOG_DEBUG,
- "I participate in the table '%s' for the '%s' operation.\n",
+ "I participate in the table `%s' for the `%s' operation.\n",
&enc,
"DHT_GET");
#endif
@@ -1665,7 +1665,7 @@
hash2enc(&keys[0],
&enc));
LOG(LOG_DEBUG,
- "local datastore lookup for key '%s' resulted in %d results.\n",
+ "local datastore lookup for key `%s' resulted in %d results.\n",
&enc,
res);
#endif
@@ -1683,7 +1683,7 @@
hash2enc(&hosts[i].hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "sending RPC '%s' to peer '%s' that also participates in the
table.\n",
+ "sending RPC `%s' to peer `%s' that also participates in the
table.\n",
"DHT_GET",
&enc);
#endif
@@ -1698,7 +1698,7 @@
hash2enc(table,
&enc));
LOG(LOG_DEBUG,
- "I do not participate in the table '%s', finding %d other nodes that
do.\n",
+ "I do not participate in the table `%s', finding %d other nodes that
do.\n",
&enc,
ALPHA);
#endif
@@ -1742,7 +1742,7 @@
FREE(record);
#if DEBUG_DHT
LOG(LOG_DEBUG,
- "'%s' operation completed with %d results.\n",
+ "`%s' operation completed with %d results.\n",
"DHT_GET",
resultsFound);
#endif
@@ -1779,7 +1779,7 @@
dataLength,
sizeof(PeerIdentity));
LOG(LOG_WARNING,
- _("Invalid response to '%s'.\n"),
+ _("Invalid response to `%s'.\n"),
"DHT_findValue");
return SYSERR;
}
@@ -1834,7 +1834,7 @@
hash2enc(table,
&enc));
LOG(LOG_DEBUG,
- "function '%s' called to look for nodes participating in table '%s'.\n",
+ "function `%s' called to look for nodes participating in table `%s'.\n",
__FUNCTION__,
&enc);
#endif
@@ -1890,7 +1890,7 @@
hash2enc(table,
&enc));
LOG(LOG_DEBUG,
- "performing RPC '%s' to find other peers participating in table
'%s'.\n",
+ "performing RPC `%s' to find other peers participating in table
`%s'.\n",
"DHT_findValue",
&enc);
#endif
@@ -1977,7 +1977,7 @@
which will in turn trigger create_find_nodes_rpc) */
if ( (dataLength % sizeof(PeerIdentity)) != 0) {
LOG(LOG_WARNING,
- _("Malformed response to '%s' on master table.\n"),
+ _("Malformed response to `%s' on master table.\n"),
"DHT_findValue");
return;
}
@@ -1990,7 +1990,7 @@
hash2enc(&msg->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "master table returned peer '%s' in '%s' operation.\n",
+ "master table returned peer `%s' in `%s' operation.\n",
&enc,
"DHT_findValue");
#endif
@@ -2052,7 +2052,7 @@
hash2enc(table,
&enc);
LOG(LOG_DEBUG,
- "'%s' called to find %d nodes that participate in table '%s'.\n",
+ "`%s' called to find %d nodes that participate in table `%s'.\n",
__FUNCTION__,
k,
&enc);
@@ -2083,7 +2083,7 @@
if (found == k) {
#if DEBUG_DHT
LOG(LOG_DEBUG,
- "'%s' found %d nodes in local table, no remote requests needed.\n",
+ "`%s' found %d nodes in local table, no remote requests needed.\n",
__FUNCTION__,
k);
#endif
@@ -2104,7 +2104,7 @@
} else {
#if DEBUG_DHT
LOG(LOG_DEBUG,
- "'%s' sends request to find %d in master table.\n",
+ "`%s' sends request to find %d in master table.\n",
__FUNCTION__,
k);
#endif
@@ -2188,7 +2188,7 @@
hash2enc(&responder->hashPubKey,
&enc);
LOG(LOG_WARNING,
- _("Invalid response to '%s' from '%s'\n"),
+ _("Invalid response to `%s' from `%s'\n"),
"DHT_put",
&enc);
return;
@@ -2215,7 +2215,7 @@
hash2enc(&peer->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "sending RPC '%s' to peer '%s'.\n",
+ "sending RPC `%s' to peer `%s'.\n",
"DHT_store",
&enc);
#endif
@@ -2304,14 +2304,14 @@
hash2enc(table,
&enc2));
LOG(LOG_DEBUG,
- "performing '%s' operation on key '%s' and table '%s'.\n",
+ "performing `%s' operation on key `%s' and table `%s'.\n",
"DHT_PUT",
&enc,
&enc2);
#endif
if (timeout > 1 * cronHOURS) {
LOG(LOG_WARNING,
- _("'%s' called with timeout above 1 hour (bug?)\n"),
+ _("`%s' called with timeout above 1 hour (bug?)\n"),
__FUNCTION__);
timeout = 1 * cronHOURS;
}
@@ -2340,7 +2340,7 @@
hash2enc(table,
&enc));
LOG(LOG_DEBUG,
- "I participate in the table '%s' for the '%s' operation.\n",
+ "I participate in the table `%s' for the `%s' operation.\n",
&enc,
"DHT_PUT");
#endif
@@ -2467,7 +2467,7 @@
hash2enc(&responder->hashPubKey,
&enc);
LOG(LOG_WARNING,
- _("Invalid response to '%s' from '%s'\n"),
+ _("Invalid response to `%s' from `%s'\n"),
"DHT_remove",
&enc);
return;
@@ -2496,7 +2496,7 @@
hash2enc(&peer->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "sending RPC '%s' to peer '%s'.\n",
+ "sending RPC `%s' to peer `%s'.\n",
"DHT_remove",
&enc);
#endif
@@ -2570,7 +2570,7 @@
if (timeout > 1 * cronHOURS) {
LOG(LOG_WARNING,
- _("'%s' called with timeout above 1 hour (bug?)\n"),
+ _("`%s' called with timeout above 1 hour (bug?)\n"),
__FUNCTION__);
timeout = 1 * cronHOURS;
}
@@ -2790,7 +2790,7 @@
hash2enc(&sender->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "Received RPC '%s' from peer '%s'.\n",
+ "Received RPC `%s' from peer `%s'.\n",
"DHT_ping",
&enc);
#endif
@@ -2838,7 +2838,7 @@
(void**) &table)) ||
(dataLength != sizeof(DHT_TableId)) ) {
LOG(LOG_WARNING,
- _("Received invalid RPC '%s'.\n"),
+ _("Received invalid RPC `%s'.\n"),
"DHT_findNode");
return;
}
@@ -2967,7 +2967,7 @@
(void**) &type)) ||
(dataLength != sizeof(unsigned int)) ) {
LOG(LOG_WARNING,
- _("Received invalid RPC '%s'.\n"),
+ _("Received invalid RPC `%s'.\n"),
"DHT_findValue");
return;
}
@@ -3083,7 +3083,7 @@
((NULL == (value = RPC_paramDataContainerByName(arguments,
"value")))) ) {
LOG(LOG_WARNING,
- _("Received invalid RPC '%s'.\n"),
+ _("Received invalid RPC `%s'.\n"),
"DHT_store");
return;
}
@@ -3095,7 +3095,7 @@
ltd = getLocalTableData(table);
if (ltd == NULL) {
LOG(LOG_WARNING,
- _("RPC for '%s' received for table that we do not participate in!\n"),
+ _("RPC for `%s' received for table that we do not participate in!\n"),
"DHT_store");
}
MUTEX_UNLOCK(lock);
@@ -3209,7 +3209,7 @@
(void**) &timeout)) ||
(dataLength != sizeof(unsigned long long)) ) {
LOG(LOG_WARNING,
- _("Received invalid RPC '%s'.\n"),
+ _("Received invalid RPC `%s'.\n"),
"DHT_remove");
return;
}
@@ -3223,7 +3223,7 @@
ltd = getLocalTableData(table);
if (ltd == NULL) {
LOG(LOG_DEBUG,
- _("RPC for '%s' received for table that we do not participate in!\n"),
+ _("RPC for `%s' received for table that we do not participate in!\n"),
"DHT_removed");
}
MUTEX_UNLOCK(lock);
@@ -3286,7 +3286,7 @@
printRoutingTable();
/* first, free resources from ASYNC calls started last time */
LOG(LOG_CRON,
- "'%s' stops async requests from last cron round.\n",
+ "`%s' stops async requests from last cron round.\n",
__FUNCTION__);
#endif
cronTime(&now);
@@ -3350,7 +3350,7 @@
sizeof(PeerIdentity));
#if DEBUG_DHT
LOG(LOG_CRON,
- "'%s' issues DHT_PUTs to advertise tables this peer participates in.\n",
+ "`%s' issues DHT_PUTs to advertise tables this peer participates in.\n",
__FUNCTION__);
#endif
@@ -3384,7 +3384,7 @@
*/
#if DEBUG_DHT
LOG(LOG_CRON,
- "'%s' issues findNodes for each table that we participate in.\n",
+ "`%s' issues findNodes for each table that we participate in.\n",
__FUNCTION__);
#endif
for (i=0;i<tablesCount;i++) {
@@ -3410,7 +3410,7 @@
*/
#if DEBUG_DHT
LOG(LOG_CRON,
- "'%s' issues put to advertise tables that we participate in.\n",
+ "`%s' issues put to advertise tables that we participate in.\n",
__FUNCTION__);
#endif
request_param = vectorNew(4);
@@ -3439,7 +3439,7 @@
hash2enc(&pos->id.hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "sending RPC '%s' to peer '%s'.\n",
+ "sending RPC `%s' to peer `%s'.\n",
"DHT_ping",
&enc);
#endif
Modified: GNUnet/src/applications/dht/tools/dht-join.c
===================================================================
--- GNUnet/src/applications/dht/tools/dht-join.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/dht/tools/dht-join.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -82,7 +82,7 @@
unsigned int max;
if (1 != sscanf(GNoptarg, "%ud", &max)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-m");
return SYSERR;
} else {
@@ -128,9 +128,9 @@
}
}
-#define LOGRET(ret) dump(_("Call to '%s' returns %d.\n"), __FUNCTION__, ret)
-#define LOGKEY(key) do { EncName kn; hash2enc(key, &kn); dump(_("Call to '%s'
with key '%s'.\n"), __FUNCTION__, &kn); } while (0)
-#define LOGVAL(val) dump(_("Call to '%s' with value '%.*s' (%d bytes).\n"),
__FUNCTION__, (val == NULL) ? 0 : &val[1], (val == NULL) ? NULL : &val[1], (val
== NULL) ? 0 : (ntohl(val->size) - sizeof(DataContainer)))
+#define LOGRET(ret) dump(_("Call to `%s' returns %d.\n"), __FUNCTION__, ret)
+#define LOGKEY(key) do { EncName kn; hash2enc(key, &kn); dump(_("Call to `%s'
with key `%s'.\n"), __FUNCTION__, &kn); } while (0)
+#define LOGVAL(val) dump(_("Call to `%s' with value '%.*s' (%d bytes).\n"),
__FUNCTION__, (val == NULL) ? 0 : &val[1], (val == NULL) ? NULL : &val[1], (val
== NULL) ? 0 : (ntohl(val->size) - sizeof(DataContainer)))
static int lookup(void * closure,
unsigned int type,
@@ -208,7 +208,7 @@
tableName = getConfigurationString("DHT-JOIN",
"TABLE");
if (tableName == NULL) {
- printf(_("No table name specified, using '%s'.\n"),
+ printf(_("No table name specified, using `%s'.\n"),
"test");
tableName = STRDUP("test");
}
Modified: GNUnet/src/applications/dht/tools/dht-query.c
===================================================================
--- GNUnet/src/applications/dht/tools/dht-query.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/dht/tools/dht-query.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -81,7 +81,7 @@
unsigned int max;
if (1 != sscanf(GNoptarg, "%ud", &max)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-T");
return SYSERR;
} else {
@@ -228,7 +228,7 @@
tableName = getConfigurationString("DHT-QUERY",
"TABLE");
if (tableName == NULL) {
- printf(_("No table name specified, using '%s'.\n"),
+ printf(_("No table name specified, using `%s'.\n"),
"test");
tableName = STRDUP("test");
}
@@ -250,7 +250,7 @@
for (i=0;i<count;i++) {
if (0 == strcmp("get", commands[i])) {
if (i+2 > count)
- errexit(_("Command '%s' requires an argument ('%s').\n"),
+ errexit(_("Command `%s' requires an argument (`%s').\n"),
"get",
"key");
do_get(handle, commands[++i]);
@@ -258,7 +258,7 @@
}
if (0 == strcmp("put", commands[i])) {
if (i+3 > count)
- errexit(_("Command '%s' requires two arguments ('%s' and '%s').\n"),
+ errexit(_("Command `%s' requires two arguments (`%s' and `%s').\n"),
"put",
"key",
"value");
@@ -268,7 +268,7 @@
}
if (0 == strcmp("remove", commands[i])) {
if (i+3 > count)
- errexit(_("Command '%s' requires two arguments ('%s' and '%s').\n"),
+ errexit(_("Command `%s' requires two arguments (`%s' and `%s').\n"),
"remove",
"key",
"value");
@@ -276,7 +276,7 @@
i+=2;
continue;
}
- printf(_("Unsupported command '%s'. Aborting.\n"),
+ printf(_("Unsupported command `%s'. Aborting.\n"),
commands[i]);
break;
}
Modified: GNUnet/src/applications/dht/tools/dht_api.c
===================================================================
--- GNUnet/src/applications/dht/tools/dht_api.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/dht/tools/dht_api.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -124,7 +124,7 @@
if (OK != writeToSocket(list->sock,
&reply->header)) {
LOG(LOG_WARNING,
- _("Failed to send '%s'. Closing connection.\n"),
+ _("Failed to send `%s'. Closing connection.\n"),
"CS_dht_reply_results_MESSAGE");
MUTEX_LOCK(&list->lock);
releaseClientSocket(list->sock);
@@ -198,7 +198,7 @@
if (sizeof(CS_dht_request_get_MESSAGE) != ntohs(buffer->size)) {
LOG(LOG_ERROR,
- _("Received invalid '%s' request (size %d)\n"),
+ _("Received invalid `%s' request (size %d)\n"),
"GET",
ntohs(buffer->size));
MUTEX_LOCK(&list->lock);
@@ -211,7 +211,7 @@
if (! equalsHashCode512(&req->table,
&list->table)) {
LOG(LOG_ERROR,
- _("Received invalid '%s' request (wrong table)\n"),
+ _("Received invalid `%s' request (wrong table)\n"),
"GET");
MUTEX_LOCK(&list->lock);
releaseClientSocket(list->sock);
@@ -233,7 +233,7 @@
&list->table,
resCount)) ) {
LOG(LOG_WARNING,
- _("Failed to send '%s'. Closing connection.\n"),
+ _("Failed to send `%s'. Closing connection.\n"),
"ACK");
MUTEX_LOCK(&list->lock);
releaseClientSocket(list->sock);
@@ -250,7 +250,7 @@
if (sizeof(CS_dht_request_put_MESSAGE) > ntohs(buffer->size)) {
LOG(LOG_ERROR,
- _("Received invalid '%s' request (size %d)\n"),
+ _("Received invalid `%s' request (size %d)\n"),
"PUT",
ntohs(buffer->size));
MUTEX_LOCK(&list->lock);
@@ -263,7 +263,7 @@
if (! equalsHashCode512(&req->table,
&list->table)) {
LOG(LOG_ERROR,
- _("Received invalid '%s' request (wrong table)\n"),
+ _("Received invalid `%s' request (wrong table)\n"),
"PUT");
MUTEX_LOCK(&list->lock);
releaseClientSocket(list->sock);
@@ -286,7 +286,7 @@
value,
ntohl(req->priority)))) {
LOG(LOG_ERROR,
- _("Failed to send '%s'. Closing connection.\n"),
+ _("Failed to send `%s'. Closing connection.\n"),
"ACK");
MUTEX_LOCK(&list->lock);
releaseClientSocket(list->sock);
@@ -304,7 +304,7 @@
if (sizeof(CS_dht_request_remove_MESSAGE) > ntohs(buffer->size)) {
LOG(LOG_ERROR,
- _("Received invalid '%s' request (size %d)\n"),
+ _("Received invalid `%s' request (size %d)\n"),
"REMOVE",
ntohs(buffer->size));
MUTEX_LOCK(&list->lock);
@@ -317,7 +317,7 @@
if (! equalsHashCode512(&req->table,
&list->table)) {
LOG(LOG_ERROR,
- _("Received invalid '%s' request (wrong table)\n"),
+ _("Received invalid `%s' request (wrong table)\n"),
"REMOVE");
MUTEX_LOCK(&list->lock);
releaseClientSocket(list->sock);
@@ -340,7 +340,7 @@
&req->key,
value))) {
LOG(LOG_ERROR,
- _("Failed to send '%s'. Closing connection.\n"),
+ _("Failed to send `%s'. Closing connection.\n"),
"ACK");
MUTEX_LOCK(&list->lock);
releaseClientSocket(list->sock);
@@ -357,7 +357,7 @@
if (sizeof(CS_dht_request_iterate_MESSAGE) != ntohs(buffer->size)) {
LOG(LOG_ERROR,
- _("Received invalid '%s' request (size %d)\n"),
+ _("Received invalid `%s' request (size %d)\n"),
"ITERATE",
ntohs(buffer->size));
MUTEX_LOCK(&list->lock);
@@ -374,7 +374,7 @@
&list->table,
resCount)) {
LOG(LOG_WARNING,
- _("Failed to send '%s'. Closing connection.\n"),
+ _("Failed to send `%s'. Closing connection.\n"),
"ACK");
MUTEX_LOCK(&list->lock);
releaseClientSocket(list->sock);
@@ -517,17 +517,17 @@
ret = OK;
else
LOG(LOG_WARNING,
- _("gnunetd signaled error in response to '%s' message\n"),
+ _("gnunetd signaled error in response to `%s' message\n"),
"CS_dht_request_leave_MESSAGE");
FREE(reply);
} else {
LOG(LOG_WARNING,
- _("Failed to receive response to '%s' message from gnunetd\n"),
+ _("Failed to receive response to `%s' message from gnunetd\n"),
"CS_dht_request_leave_MESSAGE");
}
} else {
LOG(LOG_WARNING,
- _("Failed to send '%s' message to gnunetd\n"),
+ _("Failed to send `%s' message to gnunetd\n"),
"CS_dht_request_leave_MESSAGE");
}
releaseClientSocket(sock);
@@ -619,7 +619,7 @@
if ( (sizeof(CS_dht_reply_results_MESSAGE) > ntohs(reply->size)) ||
(CS_PROTO_dht_REPLY_GET != ntohs(reply->type)) ) {
LOG(LOG_WARNING,
- _("Unexpected reply to '%s' operation.\n"),
+ _("Unexpected reply to `%s' operation.\n"),
"GET");
releaseClientSocket(sock);
FREE(reply);
Modified: GNUnet/src/applications/fragmentation/fragmentation.c
===================================================================
--- GNUnet/src/applications/fragmentation/fragmentation.c 2005-08-18
19:16:39 UTC (rev 1743)
+++ GNUnet/src/applications/fragmentation/fragmentation.c 2005-08-19
04:09:20 UTC (rev 1744)
@@ -558,7 +558,7 @@
60 * cronSECONDS,
NULL);
LOG(LOG_DEBUG,
- _("'%s' registering handler %d\n"),
+ _("`%s' registering handler %d\n"),
"fragmentation",
P2P_PROTO_fragment);
capi->registerHandler(P2P_PROTO_fragment,
Modified: GNUnet/src/applications/fs/ecrs/download.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/download.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/fs/ecrs/download.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -118,7 +118,7 @@
fn[strlen(fn)-1]+=i;
if (0 != UNLINK(fn))
LOG(LOG_WARNING,
- _("Could not unlink temporary file '%s': %s\n"),
+ _("Could not unlink temporary file `%s': %s\n"),
fn, STRERROR(errno));
FREE(fn);
}
@@ -1059,7 +1059,7 @@
hash2enc(&entry->node->chk.key,
&enc));
LOG(LOG_WARNING,
- _("Content '%s' seems to be not available on the network.\n"),
+ _("Content `%s' seems to be not available on the network.\n"),
&enc);
}
}
@@ -1160,7 +1160,7 @@
FileIdentifier fid;
LOG(LOG_DEBUG,
- "'%s' running for file '%s'\n",
+ "`%s' running for file `%s'\n",
__FUNCTION__,
filename);
GNUNET_ASSERT(filename != NULL);
@@ -1174,7 +1174,7 @@
ntohll(fid.file_length),
filename)) {
LOG(LOG_DEBUG,
- "'%s' aborted for file '%s'\n",
+ "`%s' aborted for file `%s'\n",
__FUNCTION__,
filename);
return SYSERR;
@@ -1213,7 +1213,7 @@
else
freeIOC(&ioc, NO); /* aborted */
LOG(LOG_DEBUG,
- "'%s' terminating for file '%s' with result %s\n",
+ "`%s' terminating for file `%s' with result %s\n",
__FUNCTION__,
filename,
ret == OK ? "SUCCESS" : "INCOMPLETE");
Modified: GNUnet/src/applications/fs/ecrs/ecrstest.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/ecrstest.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/fs/ecrs/ecrstest.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -139,7 +139,7 @@
tmp = ECRS_uriToString(fi->uri);
LOG(LOG_DEBUG,
- "Search found URI '%s'\n",
+ "Search found URI `%s'\n",
tmp);
FREE(tmp);
GNUNET_ASSERT(NULL == *my);
@@ -184,7 +184,7 @@
tmp = ECRS_uriToString(uri);
LOG(LOG_DEBUG,
- "Starting download of '%s'\n",
+ "Starting download of `%s'\n",
tmp);
FREE(tmp);
tmpName = makeName(0);
Modified: GNUnet/src/applications/fs/ecrs/meta.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/meta.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/fs/ecrs/meta.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -759,7 +759,7 @@
i++;
if (mimeMap[i][1] == NULL)
LOG(LOG_DEBUG,
- "Did not find mime type '%s' in extension list.\n",
+ "Did not find mime type `%s' in extension list.\n",
mime);
mime = mimeMap[i][1];
}
@@ -815,7 +815,7 @@
&filestat)) {
if (0 != RENAME(filename, renameTo))
LOG(LOG_ERROR,
- _("Renaming of file '%s' to '%s' failed: %s\n"),
+ _("Renaming of file `%s' to `%s' failed: %s\n"),
filename,
renameTo,
STRERROR(errno));
@@ -823,7 +823,7 @@
ret = STRDUP(renameTo);
} else {
LOG(LOG_ERROR,
- _("Could not rename file '%s' to '%s': file exists\n"),
+ _("Could not rename file `%s' to `%s': file exists\n"),
filename,
renameTo);
}
Modified: GNUnet/src/applications/fs/ecrs/namespace.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/namespace.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/fs/ecrs/namespace.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -130,7 +130,7 @@
fileName = getPseudonymFileName(name);
if (1 == readFile(fileName, 1, &tmp)) {
LOG(LOG_ERROR,
- _("Cannot create pseudonym '%s', file '%s' exists.\n"),
+ _("Cannot create pseudonym `%s', file `%s' exists.\n"),
name,
fileName);
FREE(fileName);
@@ -301,7 +301,7 @@
}
if (len < 2) {
LOG(LOG_ERROR,
- _("File '%s' does not contain a pseudonym.\n"),
+ _("File `%s' does not contain a pseudonym.\n"),
fileName);
FREE(fileName);
return SYSERR;
@@ -312,7 +312,7 @@
hke = (PrivateKeyEncoded*) dst;
if ( ntohs(hke->len) != len ) {
LOG(LOG_ERROR,
- _("Format of pseudonym '%s' is invalid.\n"),
+ _("Format of pseudonym `%s' is invalid.\n"),
name);
FREE(hke);
return SYSERR;
@@ -377,7 +377,7 @@
}
if (len < 2) {
LOG(LOG_ERROR,
- _("File '%s' does not contain a pseudonym.\n"),
+ _("File `%s' does not contain a pseudonym.\n"),
fileName);
FREE(fileName);
return NULL;
@@ -388,7 +388,7 @@
hke = (PrivateKeyEncoded*) dst;
if ( ntohs(hke->len) != len ) {
LOG(LOG_ERROR,
- _("Format of pseudonym '%s' is invalid.\n"),
+ _("Format of pseudonym `%s' is invalid.\n"),
name);
FREE(hke);
return NULL;
@@ -521,7 +521,7 @@
}
if (len < 2) {
LOG(LOG_ERROR,
- _("File '%s' does not contain a pseudonym.\n"),
+ _("File `%s' does not contain a pseudonym.\n"),
fileName);
FREE(fileName);
return OK;
@@ -531,7 +531,7 @@
hke = (PrivateKeyEncoded*) dst;
if ( ntohs(hke->len) != len ) {
LOG(LOG_ERROR,
- _("Format of file '%s' is invalid.\n"),
+ _("Format of file `%s' is invalid.\n"),
fileName);
FREE(hke);
FREE(fileName);
@@ -541,7 +541,7 @@
FREE(hke);
if (hk == NULL) {
LOG(LOG_ERROR,
- _("Format of file '%s' is invalid.\n"),
+ _("Format of file `%s' is invalid.\n"),
fileName);
FREE(fileName);
BREAK();
Modified: GNUnet/src/applications/fs/ecrs/searchtest.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/searchtest.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/fs/ecrs/searchtest.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -60,7 +60,7 @@
char * st;
st = ECRS_uriToString(fi->uri);
- printf("Got result '%s'\n",
+ printf("Got result `%s'\n",
st);
FREE(st);
#endif
Modified: GNUnet/src/applications/fs/ecrs/upload.c
===================================================================
--- GNUnet/src/applications/fs/ecrs/upload.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/fs/ecrs/upload.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -172,7 +172,7 @@
}
if (0 == assertIsFile(filename)) {
LOG(LOG_ERROR,
- _("'%s' is not a file.\n"),
+ _("`%s' is not a file.\n"),
filename);
return SYSERR;
}
@@ -189,7 +189,7 @@
if (SYSERR == getFileHash(filename,
&fileId)) {
LOG(LOG_ERROR,
- _("Cannot hash '%s'.\n"),
+ _("Cannot hash `%s'.\n"),
filename);
releaseClientSocket(sock);
return SYSERR;
@@ -207,13 +207,13 @@
switch (FS_initIndex(sock, &fileId, filename)) {
case SYSERR:
LOG(LOG_ERROR,
- _("Initialization for indexing file '%s' failed.\n"),
+ _("Initialization for indexing file `%s' failed.\n"),
filename);
releaseClientSocket(sock);
return SYSERR;
case NO:
LOG(LOG_ERROR,
- _("Indexing file '%s' failed. Check file permissions and consult "
+ _("Indexing file `%s' failed. Check file permissions and consult "
"your GNUnet server's logs.\n"),
filename);
releaseClientSocket(sock);
@@ -367,7 +367,7 @@
hash2enc(&chk.query,
&enc));
LOG(LOG_DEBUG,
- "Query for current block at level %u is '%s'.\n",
+ "Query for current block at level %u is `%s'.\n",
i,
&enc);
#endif
Modified: GNUnet/src/applications/fs/fsui/download.c
===================================================================
--- GNUnet/src/applications/fs/fsui/download.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/fs/fsui/download.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -297,7 +297,7 @@
return SYSERR;
}
LOG(LOG_DEBUG,
- "Starting download of file '%s'\n",
+ "Starting download of file `%s'\n",
filename);
dl = MALLOC(sizeof(FSUI_DownloadList));
@@ -369,7 +369,7 @@
#if DEBUG_DTM
LOG(LOG_DEBUG,
- "Download thread manager investigates pending downlod of file '%s'\n",
+ "Download thread manager investigates pending downlod of file `%s'\n",
list->filename);
#endif
ret = NO;
@@ -381,7 +381,7 @@
(list->finished == NO) ) {
#if DEBUG_DTM
LOG(LOG_DEBUG,
- "Download thread manager schedules active downlod of file '%s'\n",
+ "Download thread manager schedules active downlod of file `%s'\n",
list->filename);
#endif
list->signalTerminate = NO;
@@ -401,7 +401,7 @@
(list->signalTerminate == NO) ) {
#if DEBUG_DTM
LOG(LOG_DEBUG,
- "Download thread manager aborts active downlod of file '%s'\n",
+ "Download thread manager aborts active downlod of file `%s'\n",
list->filename);
#endif
list->signalTerminate = YES;
@@ -416,7 +416,7 @@
if (list->signalTerminate == YES) {
#if DEBUG_DTM
LOG(LOG_DEBUG,
- "Download thread manager collects inactive downlod of file '%s'\n",
+ "Download thread manager collects inactive downlod of file `%s'\n",
list->filename);
#endif
PTHREAD_JOIN(&list->handle,
Modified: GNUnet/src/applications/fs/fsui/fsui.c
===================================================================
--- GNUnet/src/applications/fs/fsui/fsui.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/fs/fsui/fsui.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -149,7 +149,7 @@
ret);
#if DEBUG_PERSISTENCE
LOG(LOG_DEBUG,
- "FSUI persistence: restoring download '%s': %s\n",
+ "FSUI persistence: restoring download `%s': %s\n",
ret->filename,
ret->finished == YES ? "finished" : "pending");
#endif
@@ -212,7 +212,7 @@
}
#if DEBUG_PERSISTENCE
LOG(LOG_DEBUG,
- "Serializing download state of download '%s': %s\n",
+ "Serializing download state of download `%s': %s\n",
list->filename,
list->finished == YES ? "finished" : "pending");
#endif
@@ -613,7 +613,7 @@
0);
WARN:
LOG(LOG_WARNING,
- _("FSUI state file '%s' had syntax error at offset %u.\n"),
+ _("FSUI state file `%s' had syntax error at offset %u.\n"),
fn,
lseek(fd, 0, SEEK_CUR));
END:
Modified: GNUnet/src/applications/fs/module/fs.c
===================================================================
--- GNUnet/src/applications/fs/module/fs.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/fs/module/fs.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -161,7 +161,7 @@
hash2enc(query,
&enc));
LOG(LOG_DEBUG,
- "FS received GAP-PUT request (query: %s)\n",
+ "FS received GAP-PUT request (query: `%s')\n",
&enc);
ret = datastore->putUpdate(query,
dv);
@@ -178,7 +178,7 @@
hash2enc(query,
&enc));
LOG(LOG_DEBUG,
- "Found reply to query '%s'.\n",
+ "Found reply to query `%s'.\n",
&enc);
gapPut(NULL,
query,
@@ -217,7 +217,7 @@
hash2enc(&rs->query[0],
&enc));
LOG(LOG_DEBUG,
- "FS received QUERY START (query: %s)\n",
+ "FS received QUERY START (query: `%s')\n",
&enc);
trackQuery(&rs->query[0],
ntohl(rs->type),
@@ -267,7 +267,7 @@
hash2enc(&rs->query[0],
&enc));
LOG(LOG_DEBUG,
- "FS received QUERY STOP (query: %s)\n",
+ "FS received QUERY STOP (query: `%s')\n",
&enc);
if (ntohl(rs->anonymityLevel) == 0) {
/* FIXME 0.7.1: cancel with dht? */
@@ -318,7 +318,7 @@
type = getTypeOfBlock(ntohs(ri->header.size) -
sizeof(CS_fs_request_insert_MESSAGE),
(const DBlock*) &ri[1]);
LOG(LOG_DEBUG,
- "FS received REQUEST INSERT (query: '%s', type: %u)\n",
+ "FS received REQUEST INSERT (query: `%s', type: %u)\n",
&enc,
type);
datum->type = htonl(type);
@@ -455,7 +455,7 @@
&comp[1],
ntohl(value->size) - sizeof(Datastore_Value))) ) {
LOG(LOG_DEBUG,
- "'%s' found value that does not match (%u, %u).\n",
+ "`%s' found value that does not match (%u, %u).\n",
__FUNCTION__,
ntohl(comp->size),
ntohl(value->size));
@@ -463,7 +463,7 @@
}
*comp = *value; /* make copy! */
LOG(LOG_DEBUG,
- "'%s' found value that matches.\n",
+ "`%s' found value that matches.\n",
__FUNCTION__);
return SYSERR;
}
@@ -508,7 +508,7 @@
hash2enc(&query,
&enc));
LOG(LOG_DEBUG,
- "FS received REQUEST DELETE (query: %s, type: %u)\n",
+ "FS received REQUEST DELETE (query: `%s', type: %u)\n",
&enc,
type);
@@ -620,7 +620,7 @@
hash2enc(key,
&enc));
LOG(LOG_DEBUG,
- "Converting reply for query '%s' for gap.\n",
+ "Converting reply for query `%s' for gap.\n",
&enc);
if (ntohl(invalue->type) == ONDEMAND_BLOCK) {
@@ -644,7 +644,7 @@
hash2enc(key,
&enc));
LOG(LOG_WARNING,
- "Converting reply for query '%s' for gap failed (datum not
applicable).\n",
+ "Converting reply for query `%s' for gap failed (datum not
applicable).\n",
&enc);
FREENONNULL(xvalue);
return SYSERR; /* no query will ever match */
@@ -654,7 +654,7 @@
hash2enc(key,
&enc));
LOG(LOG_WARNING,
- "Converting reply for query '%s' for gap failed (type not
applicable).\n",
+ "Converting reply for query `%s' for gap failed (type not
applicable).\n",
&enc);
FREENONNULL(xvalue);
return OK; /* Additional filtering based on type;
@@ -677,7 +677,7 @@
hash2enc(key,
&enc));
LOG(LOG_WARNING,
- "Converting reply for query '%s' for gap failed (insufficient cover
traffic).\n",
+ "Converting reply for query `%s' for gap failed (insufficient cover
traffic).\n",
&enc);
return OK;
}
@@ -732,7 +732,7 @@
hash2enc(&keys[0],
&enc));
LOG(LOG_DEBUG,
- "GAP requests content for '%s' of type %u\n",
+ "GAP requests content for `%s' of type %u\n",
&enc,
type);
myClosure.count = 0;
@@ -985,7 +985,7 @@
if (getConfigurationInt("FS",
"QUOTA") <= 0) {
LOG(LOG_ERROR,
- _("You must specify a postive number for '%s' in the configuration in
section '%s'.\n"),
+ _("You must specify a postive number for `%s' in the configuration in
section `%s'.\n"),
"QUOTA", "FS");
return SYSERR;
}
@@ -1026,7 +1026,7 @@
}
LOG(LOG_DEBUG,
- _("'%s' registering client handlers %d %d %d %d %d %d %d %d %d\n"),
+ _("`%s' registering client handlers %d %d %d %d %d %d %d %d %d\n"),
"fs",
CS_PROTO_gap_QUERY_START,
CS_PROTO_gap_QUERY_STOP,
Modified: GNUnet/src/applications/fs/module/ondemand.c
===================================================================
--- GNUnet/src/applications/fs/module/ondemand.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/fs/module/ondemand.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -69,7 +69,7 @@
dir = getFileName("FS",
"INDEX-DIRECTORY",
_("You must specify a directory for FS files in the"
- " configuration in section '%s' under '%s'."));
+ " configuration in section `%s' under `%s'."));
mkdirp(dir); /* just in case */
hash2enc(fileId,
&enc);
@@ -210,7 +210,7 @@
/* not sym-linked, write content to offset! */
LOG(LOG_DEBUG,
- "Storing on-demand encoded data in '%s'.\n",
+ "Storing on-demand encoded data in `%s'.\n",
fn);
fd = fileopen(fn,
#ifdef O_LARGEFILE
@@ -273,7 +273,7 @@
IFLOG(LOG_DEBUG,
hash2enc(&key, &enc));
LOG(LOG_DEBUG,
- "Storing on-demand content for query '%s'\n",
+ "Storing on-demand content for query `%s'\n",
&enc);
ret = datastore->get(&key,
@@ -323,7 +323,7 @@
hash2enc(query,
&enc);
LOG(LOG_DEBUG,
- _("Indexed file disappeared, deleting block for query '%s'\n"),
+ _("Indexed file disappeared, deleting block for query `%s'\n"),
&enc);
/* schedule for "immediate" execution */
addCronJob((CronJob) &asyncDelJob,
@@ -413,7 +413,7 @@
if (ret != -1) {
LOG(LOG_ERROR,
- _("Because the file '%s' has been unavailable for 3 days"
+ _("Because the file `%s' has been unavailable for 3 days"
" it got removed from your share. Please unindex files
before"
" deleting them as the index now contains invalid
references!"),
ofn);
@@ -440,8 +440,8 @@
afsDir = getFileName("FS",
"DIR",
_("Configuration file must specify directory for"
- " storage of FS data in section '%s'"
- " under '%s'.\n"));
+ " storage of FS data in section `%s'"
+ " under `%s'.\n"));
n = strlen(afsDir)+strlen(TRACKFILE)+8;
scratch = MALLOC(n);
SNPRINTF(scratch,
@@ -533,7 +533,7 @@
&comp[1],
ntohl(value->size) - sizeof(Datastore_Value))) ) {
LOG(LOG_DEBUG,
- "'%s' found value that does not match (%u, %u).\n",
+ "`%s' found value that does not match (%u, %u).\n",
__FUNCTION__,
ntohl(comp->size),
ntohl(value->size));
@@ -541,7 +541,7 @@
}
*comp = *value; /* make copy! */
LOG(LOG_DEBUG,
- "'%s' found value that matches.\n",
+ "`%s' found value that matches.\n",
__FUNCTION__);
return SYSERR;
}
@@ -573,7 +573,7 @@
fn = getOnDemandFile(fileId);
LOG(LOG_DEBUG,
- "Removing on-demand encoded data stored in '%s'.\n",
+ "Removing on-demand encoded data stored in `%s'.\n",
fn);
fd = fileopen(fn,
#ifdef O_LARGEFILE
@@ -634,7 +634,7 @@
hash2enc(&key,
&enc));
LOG(LOG_WARNING,
- _("Unindexed ODB block '%s' from offset %llu already missing from
datastore.\n"),
+ _("Unindexed ODB block `%s' from offset %llu already missing from
datastore.\n"),
&enc,
pos);
}
Modified: GNUnet/src/applications/fs/module/querymanager.c
===================================================================
--- GNUnet/src/applications/fs/module/querymanager.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/fs/module/querymanager.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -172,7 +172,7 @@
hash2enc(key,
&enc));
LOG(LOG_DEBUG,
- "Reply '%s' did not match any request.\n",
+ "Reply `%s' did not match any request.\n",
&enc);
}
#endif
Modified: GNUnet/src/applications/fs/tools/gnunet-delete.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-delete.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/fs/tools/gnunet-delete.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -146,7 +146,7 @@
&beVerbose);
if (ok != OK) {
LOG(LOG_DEBUG,
- "Error deleting file '%s'.\n",
+ "Error deleting file `%s'.\n",
filename);
printf(_("Error deleting file %s.\n"
"Probably a few blocks were already missing from the database.\n"),
Modified: GNUnet/src/applications/fs/tools/gnunet-directory.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-directory.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/fs/tools/gnunet-directory.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -72,7 +72,7 @@
int fd;
name = expandFileName(filename);
- printf(_("==> Directory '%s':\n"),
+ printf(_("==> Directory `%s':\n"),
name);
if ( (OK != getFileSize(name,
&len)) ||
Modified: GNUnet/src/applications/fs/tools/gnunet-download.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-download.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/fs/tools/gnunet-download.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -91,7 +91,7 @@
if (1 != sscanf(GNoptarg, "%ud", &receivePolicy)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-a");
return -1;
}
@@ -156,7 +156,7 @@
if (YES == testConfigurationString("GNUNET-DOWNLOAD",
"VERBOSE",
"YES")) {
- PRINTF(_("Download of file '%s' at "
+ PRINTF(_("Download of file `%s' at "
"%16llu out of %16llu bytes (%8.3f kbps)\n"),
event->data.DownloadProgress.filename,
event->data.DownloadProgress.completed,
@@ -188,7 +188,7 @@
case FSUI_download_complete:
if ( (event->data.DownloadProgress.completed ==
event->data.DownloadProgress.total) ) {
- printf(_("Download of file '%s' complete. "
+ printf(_("Download of file `%s' complete. "
"Speed was %8.3f kilobyte per second.\n"),
event->data.DownloadProgress.filename,
(event->data.DownloadProgress.completed/1024.0) /
@@ -200,7 +200,7 @@
SEMAPHORE_UP(signalFinished);
}
} else {
- PRINTF(_("Recursive download of directory '%s' at "
+ PRINTF(_("Recursive download of directory `%s' at "
"%llu of %llu bytes.\n"),
event->data.DownloadProgress.filename,
event->data.DownloadProgress.completed,
@@ -239,7 +239,7 @@
(! (ECRS_isLocationUri(uri) ||
ECRS_isFileUri(uri)) ) ) {
LOG(LOG_ERROR,
- _("URI '%s' invalid for gnunet-download.\n"),
+ _("URI `%s' invalid for gnunet-download.\n"),
fstring);
FREE(fstring);
return -1;
@@ -255,7 +255,7 @@
filename = expandFileName(&fstring[strlen(ECRS_URI_PREFIX)+
strlen(ECRS_FILE_INFIX)]);
LOG(LOG_DEBUG,
- "No filename specified, using '%s' instead (for now).\n",
+ "No filename specified, using `%s' instead (for now).\n",
filename);
try_rename = YES;
}
@@ -290,7 +290,7 @@
if (newname != NULL) {
fprintf(stdout,
- _("File stored as '%s'.\n"),
+ _("File stored as `%s'.\n"),
newname);
FREE(newname);
}
Modified: GNUnet/src/applications/fs/tools/gnunet-insert.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-insert.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/fs/tools/gnunet-insert.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -107,12 +107,12 @@
if (nsuri != NULL) {
us = ECRS_uriToString(nsuri);
ECRS_freeUri(nsuri);
- printf(_("Created entry '%s' in namespace '%s'\n"),
+ printf(_("Created entry `%s' in namespace `%s'\n"),
us,
pname);
FREE(us);
} else {
- printf(_("Failed to add entry to namespace '%s' (does it exist?)\n"),
+ printf(_("Failed to add entry to namespace `%s' (does it exist?)\n"),
pname);
}
FREE(pname);
@@ -147,7 +147,7 @@
event->data.UploadComplete.main_filename)) {
delta = event->data.UploadComplete.eta
- event->data.UploadComplete.start_time;
- PRINTF(_("Upload of '%s' complete, "
+ PRINTF(_("Upload of `%s' complete, "
"%llu bytes took %llu seconds (%8.3f kbps).\n"),
event->data.UploadComplete.filename,
event->data.UploadComplete.total,
@@ -161,7 +161,7 @@
cronTime(&now);
delta = now - event->data.UploadComplete.start_time;
- PRINTF(_("Upload of '%s' complete, "
+ PRINTF(_("Upload of `%s' complete, "
"current average speed is %8.3f kbps.\n"),
event->data.UploadComplete.filename,
(delta == 0)
@@ -171,7 +171,7 @@
}
}
fstring = ECRS_uriToString(event->data.UploadComplete.uri);
- printf(_("File '%s' has URI: %s\n"),
+ printf(_("File `%s' has URI: %s\n"),
event->data.UploadComplete.filename,
fstring);
FREE(fstring);
@@ -309,7 +309,7 @@
"%ud",
&receivePolicy)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-a");
return -1;
}
@@ -333,7 +333,7 @@
unsigned int interval;
if (1 != sscanf(GNoptarg, "%ud", &interval)) {
LOG(LOG_FAILURE,
- _("You must pass a positive number to the '%s' option.\n"),
+ _("You must pass a positive number to the `%s' option.\n"),
"-i");
return -1;
} else
@@ -405,7 +405,7 @@
EXTRACTOR_UNKNOWN,
tmp);
FREE(tmp);
- printf(("Unknown meta-data type in meta-data option '%s'. Using
unknown.\n"),
+ printf(("Unknown meta-data type in meta-data option `%s'. Using
unknown.\n"),
GNoptarg);
}
break;
@@ -437,7 +437,7 @@
"%ud",
&contentPriority)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-p");
return SYSERR;
}
@@ -570,7 +570,7 @@
}
EXTRACTOR_KeywordList * list
= EXTRACTOR_getKeywords(l, filename);
- printf(_("Keywords for file '%s':\n"),
+ printf(_("Keywords for file `%s':\n"),
filename);
EXTRACTOR_printKeywords(stdout,
list);
@@ -592,7 +592,7 @@
"PSEUDONYM");
if (pname != NULL) {
if (OK != ECRS_testNamespaceExists(pname, NULL)) {
- printf(_("Could not access namespace '%s' (does not exist?).\n"),
+ printf(_("Could not access namespace `%s' (does not exist?).\n"),
pname);
FREE(pname);
doneUtil();
@@ -611,7 +611,7 @@
#endif
&t))) {
LOG_STRERROR(LOG_FATAL, "strptime");
- errexit(_("Parsing time failed. Use '%s' format.\n"),
+ errexit(_("Parsing time failed. Use `%s' format.\n"),
#if ENABLE_NLS
nl_langinfo(D_T_FMT)
#else
@@ -624,24 +624,24 @@
} else { /* ordinary insertion checks */
if (NULL != getConfigurationString("GNUNET-INSERT",
"NEXTHASH"))
- errexit(_("Option '%s' makes no sense without option '%s'.\n"),
+ errexit(_("Option `%s' makes no sense without option `%s'.\n"),
"-N", "-P");
if (NULL != getConfigurationString("GNUNET-INSERT",
"PREVHASH"))
- errexit(_("Option '%s' makes no sense without option '%s'.\n"),
+ errexit(_("Option `%s' makes no sense without option `%s'.\n"),
"-u", "-P");
if (NULL != getConfigurationString("GNUNET-INSERT",
"THISHASH"))
- errexit(_("Option '%s' makes no sense without option '%s'.\n"),
+ errexit(_("Option `%s' makes no sense without option `%s'.\n"),
"-t", "-P");
if (0 != getConfigurationInt("GNUNET-INSERT",
"INTERVAL"))
- errexit(_("Option '%s' makes no sense without option '%s'.\n"),
+ errexit(_("Option `%s' makes no sense without option `%s'.\n"),
"-i", "-P");
if (testConfigurationString("GNUNET-INSERT",
"SPORADIC",
"YES"))
- errexit(_("Option '%s' makes no sense without option '%s'.\n"),
+ errexit(_("Option `%s' makes no sense without option `%s'.\n"),
"-S", "-P");
}
Modified: GNUnet/src/applications/fs/tools/gnunet-pseudonym.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-pseudonym.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/fs/tools/gnunet-pseudonym.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -117,7 +117,7 @@
"%ud",
&receivePolicy)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-a");
return -1;
}
@@ -218,7 +218,7 @@
if (GNoptind < argc) {
while (GNoptind < argc)
LOG(LOG_WARNING,
- _("Invalid argument: '%s'\n"), argv[GNoptind++]);
+ _("Invalid argument: `%s'\n"), argv[GNoptind++]);
LOG(LOG_FATAL,
_("Invalid arguments. Exiting.\n"));
return SYSERR;
@@ -261,11 +261,11 @@
hash2enc(id,
&enc);
if (0 == strcmp(namespaceName, (char*)&enc))
- printf(_("Namespace '%s' has rating %d.\n"),
+ printf(_("Namespace `%s' has rating %d.\n"),
namespaceName,
rating);
else
- printf(_("Namespace '%s' (%s) has rating %d.\n"),
+ printf(_("Namespace `%s' (%s) has rating %d.\n"),
namespaceName,
(char*) &enc,
rating);
@@ -348,11 +348,11 @@
"DELETE");
if (pname != NULL) {
if (OK == FSUI_deleteNamespace(pname)) {
- printf(_("Pseudonym '%s' deleted.\n"),
+ printf(_("Pseudonym `%s' deleted.\n"),
pname);
} else {
success += 2;
- printf(_("Error deleting pseudonym '%s' (does not exist?).\n"),
+ printf(_("Error deleting pseudonym `%s' (does not exist?).\n"),
pname);
}
FREE(pname);
@@ -405,7 +405,7 @@
ECRS_SBLOCK_UPDATE_SPORADIC, /* FIXME:
allow other update policies */
pname,
meta)) {
- printf(_("Started collection '%s'.\n"),
+ printf(_("Started collection `%s'.\n"),
pname);
} else {
printf(_("Failed to start collection.\n"));
@@ -452,12 +452,12 @@
advertisement,
&rootEntry);
if (rootURI == NULL) {
- printf(_("Could not create namespace '%s' (exists?).\n"),
+ printf(_("Could not create namespace `%s' (exists?).\n"),
pname);
success += 1;
} else {
root = ECRS_uriToString(rootURI);
- printf(_("Namespace '%s' created (root: %s).\n"),
+ printf(_("Namespace `%s' created (root: %s).\n"),
pname,
root);
FREE(root);
Modified: GNUnet/src/applications/fs/tools/gnunet-search.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-search.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/fs/tools/gnunet-search.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -156,7 +156,7 @@
"%ud",
&receivePolicy)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-a");
return -1;
}
@@ -172,7 +172,7 @@
unsigned int max;
if (1 != sscanf(GNoptarg, "%ud", &max)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-m");
return SYSERR;
} else {
@@ -193,7 +193,7 @@
unsigned int timeout;
if (1 != sscanf(GNoptarg, "%ud", &timeout)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-t");
return SYSERR;
} else {
Modified: GNUnet/src/applications/fs/tools/gnunet-unindex.c
===================================================================
--- GNUnet/src/applications/fs/tools/gnunet-unindex.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/fs/tools/gnunet-unindex.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -58,7 +58,7 @@
if (*verboselevel == YES) {
delta = event->data.UploadComplete.eta -
event->data.UploadComplete.start_time;
PRINTF(
- _("\nUnindexing of '%s' complete, %llu bytes took %llu seconds (%8.3f
kbps).\n"),
+ _("\nUnindexing of `%s' complete, %llu bytes took %llu seconds (%8.3f
kbps).\n"),
event->data.UploadComplete.filename,
event->data.UploadComplete.total,
delta / cronSECONDS,
@@ -186,7 +186,7 @@
FREE(tmp);
if (OK != FSUI_unindex(ctx,
filename)) {
- printf(_("'%s' failed. Is '%s' a file?\n"),
+ printf(_("`%s' failed. Is `%s' a file?\n"),
"FSUI_unindex",
filename);
errorCode = 1;
Modified: GNUnet/src/applications/gap/gap.c
===================================================================
--- GNUnet/src/applications/gap/gap.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/applications/gap/gap.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -813,7 +813,7 @@
hash2enc(&qr->msg->queries[0],
&encq));
LOG(LOG_DEBUG,
- "Sending query '%s' to '%s'\n",
+ "Sending query `%s' to `%s'\n",
&encq,
&encp);
#endif
@@ -1041,7 +1041,7 @@
hash2enc(primaryKey,
&enc));
LOG(LOG_DEBUG,
- "Gap queues reply to query '%s' for later use.\n",
+ "Gap queues reply to query `%s' for later use.\n",
&enc);
#endif
@@ -1466,7 +1466,7 @@
hash2enc(&ite->destination[j].hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "GAP sending reply to '%s'\n",
+ "GAP sending reply to `%s'\n",
&enc);
#endif
coreAPI->unicast(&ite->destination[j],
@@ -1602,7 +1602,7 @@
hash2enc(&query->queries[0],
&enc));
LOG(LOG_DEBUG,
- "GAP is executing request for '%s': %s %s\n",
+ "GAP is executing request for `%s': %s %s\n",
&enc,
doForward ? "forwarding" : "",
isRouted ? "routing" : "");
@@ -1706,7 +1706,7 @@
hash2enc(&hostId->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "GAP received content from '%s'\n",
+ "GAP received content from `%s'\n",
(hostId != NULL) ? (const char*)&enc : "myself");
#endif
if (ntohs(msg->header.size) < sizeof(P2P_gap_reply_MESSAGE)) {
@@ -2063,7 +2063,7 @@
hash2enc(&qmsg->queries[0],
&enc));
LOG(LOG_DEBUG,
- "Received GAP query '%s'.\n",
+ "Received GAP query `%s'.\n",
&enc);
#endif
if ((policy & QUERY_DROPMASK) == 0) {
@@ -2180,7 +2180,7 @@
NULL);
LOG(LOG_DEBUG,
- _("'%s' registering handlers %d %d\n"),
+ _("`%s' registering handlers %d %d\n"),
"gap",
P2P_PROTO_gap_QUERY,
P2P_PROTO_gap_RESULT);
Modified: GNUnet/src/applications/gap/gaptest.c
===================================================================
--- GNUnet/src/applications/gap/gaptest.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/gap/gaptest.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -147,7 +147,7 @@
tmp = ECRS_uriToString(fi->uri);
LOG(LOG_DEBUG,
- "Search found URI '%s'\n",
+ "Search found URI `%s'\n",
tmp);
FREE(tmp);
GNUNET_ASSERT(NULL == *my);
@@ -192,7 +192,7 @@
tmp = ECRS_uriToString(uri);
LOG(LOG_DEBUG,
- "Starting download of '%s'\n",
+ "Starting download of `%s'\n",
tmp);
FREE(tmp);
tmpName = makeName(0);
Modified: GNUnet/src/applications/getoption/getoption.c
===================================================================
--- GNUnet/src/applications/getoption/getoption.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/getoption/getoption.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -72,7 +72,7 @@
int initialize_module_getoption(CoreAPIForApplication * capi) {
coreAPI = capi;
LOG(LOG_DEBUG,
- _("'%s' registering client handler %d\n"),
+ _("`%s' registering client handler %d\n"),
"getoption",
CS_PROTO_GET_OPTION_REQUEST);
capi->registerClientHandler(CS_PROTO_GET_OPTION_REQUEST,
Modified: GNUnet/src/applications/identity/hostkey.c
===================================================================
--- GNUnet/src/applications/identity/hostkey.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/identity/hostkey.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -116,7 +116,7 @@
encPrivateKey)) {
FREE(encPrivateKey);
LOG(LOG_WARNING,
- _("Existing hostkey in file '%s' failed format check, creating new
hostkey.\n"),
+ _("Existing hostkey in file `%s' failed format check, creating new
hostkey.\n"),
hostkeyfile);
encPrivateKey = NULL;
}
Modified: GNUnet/src/applications/identity/identity.c
===================================================================
--- GNUnet/src/applications/identity/identity.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/identity/identity.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -321,7 +321,7 @@
strcat(fullname, filename);
if (0 == UNLINK(fullname))
LOG(LOG_WARNING,
- _("File '%s' in directory '%s' does not match naming convention. "
+ _("File `%s' in directory `%s' does not match naming convention. "
"Removed.\n"),
filename,
networkIdDirectory);
@@ -354,7 +354,7 @@
retries++;
if ((retries & 32) > 0) {
LOG(LOG_WARNING,
- _("%s '%s' returned no known hosts!\n"),
+ _("%s `%s' returned no known hosts!\n"),
"scanDirectory",
networkIdDirectory);
}
@@ -634,7 +634,7 @@
&buf)) {
if (0 == UNLINK(fn))
LOG(LOG_WARNING,
- _("Removed file '%s' containing invalid hello data.\n"),
+ _("Removed file `%s' containing invalid hello data.\n"),
fn);
else
LOG_FILE_STRERROR(LOG_ERROR,
@@ -652,7 +652,7 @@
if ((unsigned int)size != P2P_hello_MESSAGE_size(&buffer)) {
if (0 == UNLINK(fn))
LOG(LOG_WARNING,
- _("Removed file '%s' containing invalid hello data.\n"),
+ _("Removed file `%s' containing invalid hello data.\n"),
fn);
else
LOG_FILE_STRERROR(LOG_ERROR,
@@ -753,7 +753,7 @@
&hn);
#if DEBUG_IDENTITY
LOG(LOG_INFO,
- "Blacklisting host '%s' for %llu seconds"
+ "Blacklisting host `%s' for %llu seconds"
" until %llu (strict=%d).\n",
&hn,
entry->delta / cronSECONDS,
@@ -826,7 +826,7 @@
hash2enc(&identity->hashPubKey,
&enc));
LOG(LOG_INFO,
- "Whitelisting host '%s'\n",
+ "Whitelisting host `%s'\n",
&enc);
#endif
entry->delta = 30 * cronSECONDS;
@@ -933,7 +933,7 @@
if (0 != UNLINK(fn)) {
if (errno != ENOENT)
LOG(LOG_INFO,
- "'%s' of file '%s' at %s:%d failed: %s\n",
+ "`%s' of file `%s' at %s:%d failed: %s\n",
"unlink",
fn,
__FILE__, __LINE__,
Modified: GNUnet/src/applications/pingpong/pingpong.c
===================================================================
--- GNUnet/src/applications/pingpong/pingpong.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/pingpong/pingpong.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -117,7 +117,7 @@
if (ntohs(msg->size) != sizeof(P2P_pingpong_MESSAGE) ) {
LOG(LOG_WARNING,
- _("Received malformed '%s' message. Dropping.\n"),
+ _("Received malformed `%s' message. Dropping.\n"),
"ping");
return SYSERR;
}
@@ -168,7 +168,7 @@
if (ntohs(hmsg->size) != sizeof(P2P_pingpong_MESSAGE) ) {
LOG(LOG_WARNING,
- _("Received malformed '%s' message. Dropping.\n"),
+ _("Received malformed `%s' message. Dropping.\n"),
"ping");
return SYSERR;
}
@@ -208,7 +208,7 @@
!hostIdentityEquals(sender,
&pmsg->receiver)) {
LOG(LOG_WARNING,
- _("Received malformed '%s' message. Dropping.\n"),
+ _("Received malformed `%s' message. Dropping.\n"),
"pong");
return SYSERR; /* bad pong */
}
@@ -216,7 +216,7 @@
hash2enc(&sender->hashPubKey,
&enc);
LOG(LOG_DEBUG,
- "Received PONG from '%s'.\n",
+ "Received PONG from `%s'.\n",
&enc);
#endif
matched = 0;
@@ -242,7 +242,7 @@
hash2enc(&sender->hashPubKey,
&enc);
LOG(LOG_DEBUG,
- "Received PONG from '%s' matched %u peers.\n",
+ "Received PONG from `%s' matched %u peers.\n",
&enc,
matched);
#endif
@@ -273,7 +273,7 @@
!hostIdentityEquals(sender,
&pmsg->receiver)) {
LOG(LOG_WARNING,
- _("Received malformed '%s' message. Dropping.\n"),
+ _("Received malformed `%s' message. Dropping.\n"),
"pong");
return SYSERR; /* bad pong */
}
@@ -300,7 +300,7 @@
hash2enc(&sender->hashPubKey,
&enc);
LOG(LOG_DEBUG,
- "Received PONG from '%s' matched %u peers.\n",
+ "Received PONG from `%s' matched %u peers.\n",
&enc,
matched);
#endif
@@ -485,7 +485,7 @@
0,
sizeof(PingPongEntry)*MAX_PING_PONG);
LOG(LOG_DEBUG,
- _("'%s' registering handlers %d %d (plaintext and ciphertext)\n"),
+ _("`%s' registering handlers %d %d (plaintext and ciphertext)\n"),
"pingpong",
p2p_PROTO_PING,
p2p_PROTO_PONG);
Modified: GNUnet/src/applications/rpc/rpc.c
===================================================================
--- GNUnet/src/applications/rpc/rpc.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/applications/rpc/rpc.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -63,7 +63,7 @@
#if DEBUG_RPC_CLIENT
-#define RPC_STATUS(a,b,c) LOG(LOG_DEBUG, "RPC: '%s' (%p) %s at %s\n", a, c, b,
__FUNCTION__);
+#define RPC_STATUS(a,b,c) LOG(LOG_DEBUG, "RPC: `%s' (%p) %s at %s\n", a, c, b,
__FUNCTION__);
#else
#define RPC_STATUS(a,b,c)
#endif
@@ -1264,7 +1264,7 @@
if (timeout > 1 * cronHOURS) {
LOG(LOG_WARNING,
- _("'%s' called with timeout above 1 hour (bug?)\n"),
+ _("`%s' called with timeout above 1 hour (bug?)\n"),
__FUNCTION__);
timeout = 1 * cronHOURS;
}
@@ -1411,7 +1411,7 @@
outgoingCalls = vectorNew(16);
list_of_callbacks = vectorNew(16);
LOG(LOG_DEBUG,
- _("'%s' registering handlers %d %d %d\n"),
+ _("`%s' registering handlers %d %d %d\n"),
"rpc",
P2P_PROTO_rpc_REQ,
P2P_PROTO_rpc_RES,
@@ -1432,7 +1432,7 @@
if (rvalue == SYSERR) {
release_module_rpc();
LOG(LOG_WARNING,
- _("Failed to initialize '%s' service.\n"),
+ _("Failed to initialize `%s' service.\n"),
"rpc");
return NULL;
} else {
Modified: GNUnet/src/applications/session/connect.c
===================================================================
--- GNUnet/src/applications/session/connect.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/session/connect.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -125,7 +125,7 @@
hash2enc(&hostId->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "Received '%s' from '%s', marking session as up.\n",
+ "Received `%s' from `%s', marking session as up.\n",
"PONG",
&enc);
#endif
@@ -168,7 +168,7 @@
(char*) &enc)) {
#if DEBUG_SESSION
LOG(LOG_DEBUG,
- "Connection from peer '%s' was rejected.\n",
+ "Connection from peer `%s' was rejected.\n",
&enc);
#endif
FREE(limited);
@@ -186,7 +186,7 @@
(char*) &enc)) {
#if DEBUG_SESSION
LOG(LOG_DEBUG,
- "Connection from peer '%s' was rejected.\n",
+ "Connection from peer `%s' was rejected.\n",
&enc);
#endif
FREE(limited);
@@ -206,7 +206,7 @@
hash2enc(&hostId->hashPubKey,
&enc));
LOG(LOG_INFO,
- _("Session key from peer '%s' could not be verified.\n"),
+ _("Session key from peer `%s' could not be verified.\n"),
&enc);
return SYSERR; /*reject!*/
}
@@ -360,7 +360,7 @@
if (tsession == NULL) {
#if DEBUG_SESSION
LOG(LOG_DEBUG,
- "Key exchange with '%s' failed: could not connect.\n",
+ "Key exchange with `%s' failed: could not connect.\n",
&enc);
#endif
return SYSERR; /* failed to connect */
@@ -389,7 +389,7 @@
makeSessionkey(&sk);
#if DEBUG_SESSION
LOG(LOG_DEBUG,
- "Created fresh sessionkey '%s'.\n",
+ "Created fresh sessionkey `%s'.\n",
printSKEY(&sk));
#endif
}
@@ -435,7 +435,7 @@
FREE(skey);
#if DEBUG_SESSION
LOG(LOG_DEBUG,
- "Sending session key '%s' to peer '%s'.\n",
+ "Sending session key `%s' to peer `%s'.\n",
printSKEY(&sk),
&enc);
#endif
@@ -490,12 +490,12 @@
&enc);
#if DEBUG_SESSION
LOG(LOG_DEBUG,
- "Received session key from peer '%s'.\n",
+ "Received session key from peer `%s'.\n",
&enc);
#endif
if (ntohs(msg->size) < sizeof(P2P_setkey_MESSAGE)) {
LOG(LOG_WARNING,
- "Session key received from peer '%s' "
+ "Session key received from peer `%s' "
"has invalid format (discarded).\n",
&enc);
return SYSERR;
@@ -504,7 +504,7 @@
if (SYSERR == verifySKS(sender,
sessionkeySigned)) {
LOG(LOG_INFO,
- "Signature of session key from '%s' failed"
+ "Signature of session key from `%s' failed"
" verification (discarded).\n",
&enc);
if (stats != NULL)
@@ -517,7 +517,7 @@
sizeof(SESSIONKEY));
if (size != sizeof(SESSIONKEY)) {
LOG(LOG_WARNING,
- _("Invalid '%s' message received from peer '%s'.\n"),
+ _("Invalid `%s' message received from peer `%s'.\n"),
"setkey",
&enc);
return SYSERR;
@@ -526,7 +526,7 @@
htonl(crc32N(&key, SESSIONKEY_LEN))) {
#if DEBUG_SESSION
LOG(LOG_WARNING,
- _("setkey '%s' from '%s' fails CRC check (have: %u, want %u).\n"),
+ _("setkey `%s' from `%s' fails CRC check (have: %u, want %u).\n"),
printSKEY(&key),
&enc,
ntohl(key.crc32),
@@ -540,7 +540,7 @@
#if DEBUG_SESSION
LOG(LOG_DEBUG,
- "Received setkey message with %u bytes of data and key '%s'.\n",
+ "Received setkey message with %u bytes of data and key `%s'.\n",
ntohs(sessionkeySigned->header.size),
printSKEY(&key));
#endif
@@ -562,7 +562,7 @@
plaintext = MALLOC(size);
#if DEBUG_SESSION
LOG(LOG_DEBUG,
- "Decrypting %d bytes of PINGPONG with key '%s' and IV %u\n",
+ "Decrypting %d bytes of PINGPONG with key `%s' and IV %u\n",
size,
printSKEY(&key),
*(int*)&sessionkeySigned->signature);
@@ -664,7 +664,7 @@
(topology->allowConnectionFrom(peer) == SYSERR) ) {
#if DEBUG_SESSION
LOG(LOG_DEBUG,
- "Topology rejected connecting to '%s'.\n",
+ "Topology rejected connecting to `%s'.\n",
&enc);
#endif
return SYSERR;
@@ -672,14 +672,14 @@
if (coreAPI->queryBPMfromPeer(peer) != 0) {
#if DEBUG_SESSION
LOG(LOG_DEBUG,
- "Connection to '%s' already up (have BPM limit)\n",
+ "Connection to `%s' already up (have BPM limit)\n",
&enc);
#endif
return YES; /* trivial case */
}
#if DEBUG_SESSION
LOG(LOG_DEBUG,
- "Trying to exchange key with '%s'.\n",
+ "Trying to exchange key with `%s'.\n",
&enc);
#endif
if (OK == exchangeKey(peer, NULL, NULL))
@@ -746,7 +746,7 @@
}
LOG(LOG_DEBUG,
- _("'%s' registering handler %d (plaintext and ciphertext)\n"),
+ _("`%s' registering handler %d (plaintext and ciphertext)\n"),
"session",
P2P_PROTO_setkey);
coreAPI->registerPlaintextHandler(P2P_PROTO_setkey,
Modified: GNUnet/src/applications/sqstore_mysql/mysql.c
===================================================================
--- GNUnet/src/applications/sqstore_mysql/mysql.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/sqstore_mysql/mysql.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -146,14 +146,14 @@
* a failure of the command 'cmd' with the message given
* by strerror(errno).
*/
-#define DIE_MYSQL(cmd, dbh) do { errexit(_("'%s' failed at %s:%d with error:
%s\n"), cmd, __FILE__, __LINE__, mysql_error((dbh)->dbf)); } while(0);
+#define DIE_MYSQL(cmd, dbh) do { errexit(_("`%s' failed at %s:%d with error:
%s\n"), cmd, __FILE__, __LINE__, mysql_error((dbh)->dbf)); } while(0);
/**
* Log an error message at log-level 'level' that indicates
* a failure of the command 'cmd' on file 'filename'
* with the message given by strerror(errno).
*/
-#define LOG_MYSQL(level, cmd, dbh) do { LOG(level, _("'%s' failed at %s:%d
with error: %s\n"), cmd, __FILE__, __LINE__, mysql_error((dbh)->dbf)); }
while(0);
+#define LOG_MYSQL(level, cmd, dbh) do { LOG(level, _("`%s' failed at %s:%d
with error: %s\n"), cmd, __FILE__, __LINE__, mysql_error((dbh)->dbf)); }
while(0);
@@ -359,7 +359,7 @@
DELETE_GENERIC_SAMPLE,
strlen(DELETE_GENERIC_SAMPLE)) ) {
LOG(LOG_ERROR,
- _("'%s' failed at %s:%d with error: %s\n"),
+ _("`%s' failed at %s:%d with error: %s\n"),
"mysql_stmt_prepare",
__FILE__, __LINE__,
mysql_stmt_error(dbhI->insert));
@@ -663,7 +663,7 @@
hash2enc(query,
&enc));
LOG(LOG_DEBUG,
- "MySQL looks for '%s' of type %u\n",
+ "MySQL looks for `%s' of type %u\n",
&enc,
type);
MUTEX_LOCK(&dbh->DATABASE_Lock_);
@@ -686,7 +686,7 @@
sql_res = mysql_stmt_result_metadata(stmt);
if (! sql_res) {
LOG(LOG_ERROR,
- _("'%s' failed at %s:%d with error: %s\n"),
+ _("`%s' failed at %s:%d with error: %s\n"),
"mysql_stmt_result_metadata",
__FILE__, __LINE__,
mysql_stmt_error(stmt));
@@ -701,7 +701,7 @@
if (mysql_stmt_bind_param(stmt,
dbh->sbind)) {
LOG(LOG_ERROR,
- _("'%s' failed at %s:%d with error: %s\n"),
+ _("`%s' failed at %s:%d with error: %s\n"),
"mysql_stmt_bind_param",
__FILE__, __LINE__,
mysql_stmt_error(stmt));
@@ -710,7 +710,7 @@
}
if (mysql_stmt_execute(stmt)) {
LOG(LOG_ERROR,
- _("'%s' failed at %s:%d with error: %s\n"),
+ _("`%s' failed at %s:%d with error: %s\n"),
"mysql_stmt_execute",
__FILE__, __LINE__,
mysql_stmt_error(stmt));
@@ -734,7 +734,7 @@
if (mysql_stmt_bind_result(stmt,
dbh->bind)) {
LOG(LOG_ERROR,
- _("'%s' failed at %s:%d with error: %s\n"),
+ _("`%s' failed at %s:%d with error: %s\n"),
"mysql_stmt_bind_result",
__FILE__, __LINE__,
mysql_stmt_error(stmt));
@@ -744,7 +744,7 @@
}
if (mysql_stmt_store_result(stmt)) {
LOG(LOG_ERROR,
- _("'%s' failed at %s:%d with error: %s\n"),
+ _("`%s' failed at %s:%d with error: %s\n"),
"mysql_stmt_store_result",
__FILE__, __LINE__,
mysql_stmt_error(stmt));
@@ -793,7 +793,7 @@
}
if (mysql_stmt_errno(stmt)) {
LOG(LOG_ERROR,
- _("'%s' failed at %s:%d with error: %s\n"),
+ _("`%s' failed at %s:%d with error: %s\n"),
"mysql_stmt_fetch",
__FILE__, __LINE__,
mysql_stmt_error(stmt));
@@ -807,13 +807,13 @@
&enc));
if (count > 0) {
LOG(LOG_DEBUG,
- "MySQL found %d results for '%s' of type %u.\n",
+ "MySQL found %d results for `%s' of type %u.\n",
count,
&enc,
type);
} else {
LOG(LOG_DEBUG,
- "MySQL iteration aborted looking for '%s' of type %u.\n",
+ "MySQL iteration aborted looking for `%s' of type %u.\n",
&enc,
type);
}
@@ -872,7 +872,7 @@
if (mysql_stmt_bind_param(dbh->insert,
dbh->bind)) {
LOG(LOG_ERROR,
- _("'%s' failed at %s:%d with error: %s\n"),
+ _("`%s' failed at %s:%d with error: %s\n"),
"mysql_stmt_bind_param",
__FILE__, __LINE__,
mysql_stmt_error(dbh->insert));
@@ -882,7 +882,7 @@
if (mysql_stmt_execute(dbh->insert)) {
LOG(LOG_ERROR,
- _("'%s' failed at %s:%d with error: %s\n"),
+ _("`%s' failed at %s:%d with error: %s\n"),
"mysql_stmt_execute",
__FILE__, __LINE__,
mysql_stmt_error(dbh->insert));
@@ -918,7 +918,7 @@
hash2enc(key,
&enc));
LOG(LOG_DEBUG,
- "MySQL is executing deletion request for content of query '%s' and type
%u\n",
+ "MySQL is executing deletion request for content of query `%s' and type
%u\n",
&enc,
value == NULL ? 0 : ntohl(value->type));
MUTEX_LOCK(&dbh->DATABASE_Lock_);
@@ -952,7 +952,7 @@
if (mysql_stmt_bind_param(stmt,
dbh->dbind)) {
LOG(LOG_ERROR,
- _("'%s' failed at %s:%d with error: %s\n"),
+ _("`%s' failed at %s:%d with error: %s\n"),
"mysql_stmt_bind_param",
__FILE__, __LINE__,
mysql_stmt_error(stmt));
@@ -961,7 +961,7 @@
}
if (mysql_stmt_execute(stmt)) {
LOG(LOG_ERROR,
- _("'%s' failed at %s:%d with error: %s\n"),
+ _("`%s' failed at %s:%d with error: %s\n"),
"mysql_stmt_execute",
__FILE__, __LINE__,
mysql_stmt_error(stmt));
@@ -1013,8 +1013,8 @@
n,
"UPDATE gn070"
" SET prio=prio+%d"
- " WHERE hash='%s'"
- " AND value='%s'",
+ " WHERE hash=`%s'"
+ " AND value=`%s'",
delta,
escapedHash,
escapedBlock);
@@ -1062,7 +1062,7 @@
sql_row = mysql_fetch_row(sql_res);
if (sql_row == NULL) {
LOG(LOG_WARNING,
- _("Query '%s' had no results.\n"),
+ _("Query `%s' had no results.\n"),
"SHOW TABLE STATUS LIKE 'gn070'");
MUTEX_UNLOCK(&dbh->DATABASE_Lock_);
BREAK();
@@ -1153,7 +1153,7 @@
FREE(home_dir);
#endif
LOG(LOG_DEBUG,
- _("Trying to use file '%s' for MySQL configuration.\n"),
+ _("Trying to use file `%s' for MySQL configuration.\n"),
cnffile);
fp = FOPEN(cnffile, "r");
if (!fp) {
Modified: GNUnet/src/applications/sqstore_sqlite/sqlite.c
===================================================================
--- GNUnet/src/applications/sqstore_sqlite/sqlite.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/sqstore_sqlite/sqlite.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -40,14 +40,14 @@
* a failure of the command 'cmd' with the message given
* by strerror(errno).
*/
-#define DIE_SQLITE(cmd) do { errexit(_("'%s' failed at %s:%d with error:
%s\n"), cmd, __FILE__, __LINE__, sqlite3_errmsg(dbh->dbf)); } while(0);
+#define DIE_SQLITE(cmd) do { errexit(_("`%s' failed at %s:%d with error:
%s\n"), cmd, __FILE__, __LINE__, sqlite3_errmsg(dbh->dbf)); } while(0);
/**
* Log an error message at log-level 'level' that indicates
* a failure of the command 'cmd' on file 'filename'
* with the message given by strerror(errno).
*/
-#define LOG_SQLITE(level, cmd) do { LOG(level, _("'%s' failed at %s:%d with
error: %s\n"), cmd, __FILE__, __LINE__, sqlite3_errmsg(dbh->dbf)); } while(0);
+#define LOG_SQLITE(level, cmd) do { LOG(level, _("`%s' failed at %s:%d with
error: %s\n"), cmd, __FILE__, __LINE__, sqlite3_errmsg(dbh->dbf)); } while(0);
/**
@@ -561,7 +561,7 @@
hash2enc(key,
&enc));
LOG(LOG_DEBUG,
- "SQLite: retrieving content '%s'\n",
+ "SQLite: retrieving content `%s'\n",
&enc);
#endif
@@ -686,7 +686,7 @@
hash2enc(key,
&enc));
LOG(LOG_DEBUG,
- "Storing in database block with type %u and key '%s'.\n",
+ "Storing in database block with type %u and key `%s'.\n",
ntohl(*(int*)&value[1]),
&enc);
#endif
@@ -779,7 +779,7 @@
hash2enc(key,
&enc));
LOG(LOG_DEBUG,
- "SQLite: deleting block with key '%s'\n",
+ "SQLite: deleting block with key `%s'\n",
&enc);
#endif
@@ -902,7 +902,7 @@
hash2enc(key,
&enc));
LOG(LOG_DEBUG,
- "SQLite: updating block with key '%s'\n",
+ "SQLite: updating block with key `%s'\n",
&enc);
#endif
@@ -977,7 +977,7 @@
afsdir = getFileName("FS", "DIR",
_("Configuration file must specify directory for "
- "storing FS data in section '%s' under '%s'.\n"));
+ "storing FS data in section `%s' under `%s'.\n"));
dir = MALLOC(strlen(afsdir) + 8 + 2); /* 8 = "content/" */
strcpy(dir, afsdir);
strcat(dir, "/content/");
Modified: GNUnet/src/applications/stats/statistics.c
===================================================================
--- GNUnet/src/applications/stats/statistics.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/stats/statistics.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -353,7 +353,7 @@
}
initializeStats();
LOG(LOG_DEBUG,
- "'%s' registering client handlers %d %d %d and p2p handler %d\n",
+ "`%s' registering client handlers %d %d %d and p2p handler %d\n",
"stats",
CS_PROTO_traffic_COUNT,
CS_PROTO_stats_GET_STATISTICS,
Modified: GNUnet/src/applications/tbench/gnunet-tbench.c
===================================================================
--- GNUnet/src/applications/tbench/gnunet-tbench.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/tbench/gnunet-tbench.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -121,7 +121,7 @@
"%ud",
&messageIterations)){
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-i");
return SYSERR;
}
@@ -131,7 +131,7 @@
"%ud",
&messageCnt)){
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-n");
return SYSERR;
}
@@ -144,7 +144,7 @@
"%ud",
&messageSize)){
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-s");
return SYSERR;
}
@@ -154,7 +154,7 @@
"%ud",
&messageTrainSize)){
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-S");
return SYSERR;
}
@@ -164,7 +164,7 @@
"%llud",
&messageTimeOut)){
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-t");
return SYSERR;
}
@@ -179,7 +179,7 @@
"%llud",
&messageSpacing)){
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-X");
return SYSERR;
}
@@ -225,7 +225,7 @@
errexit(_("You must specify a receiver!\n"));
if (OK != enc2hash(messageReceiver,
&msg.receiverId.hashPubKey))
- errexit(_("Invalid receiver peer ID specified ('%s' is not valid
name).\n"),
+ errexit(_("Invalid receiver peer ID specified (`%s' is not valid
name).\n"),
messageReceiver);
FREE(messageReceiver);
Modified: GNUnet/src/applications/template/template.c
===================================================================
--- GNUnet/src/applications/template/template.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/template/template.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -58,7 +58,7 @@
coreAPI = capi;
LOG(LOG_DEBUG,
- _("'%s' registering client handler %d and %d\n"),
+ _("`%s' registering client handler %d and %d\n"),
"template",
CS_PROTO_MAX_USED,
P2P_PROTO_MAX_USED);
Modified: GNUnet/src/applications/testbed/gnunet-testbed.c
===================================================================
--- GNUnet/src/applications/testbed/gnunet-testbed.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/testbed/gnunet-testbed.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -276,7 +276,7 @@
doneUtil();
execvp(SHELL, argv);
fprintf(stderr,
- _("Could not execute '%s': %s\n"),
+ _("Could not execute `%s': %s\n"),
SHELL,
STRERROR(errno));
}
@@ -460,7 +460,7 @@
/* should never happen unless the user
plays by hand with the aliases... */
i = -1;
- PRINTF(_("Command '%s' not found!\n"),
+ PRINTF(_("Command `%s' not found!\n"),
command);
socketSend(sizeof(unsigned int),
SOCKET_RETVAL,
Modified: GNUnet/src/applications/testbed/testbed.c
===================================================================
--- GNUnet/src/applications/testbed/testbed.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/testbed/testbed.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -75,14 +75,14 @@
if (sizeof(TESTBED_ADD_PEER_MESSAGE) >
ntohs(msg->header.size) ) {
LOG(LOG_ERROR,
- _("size of '%s' message is too short. Ignoring.\n"),
+ _("size of `%s' message is too short. Ignoring.\n"),
"ADD_PEER");
return;
}
if (P2P_hello_MESSAGE_size(&hm->helo) !=
ntohs(msg->header.size) - sizeof(TESTBED_CS_MESSAGE) ) {
LOG(LOG_ERROR,
- _("size of '%s' message is wrong. Ignoring.\n"),
+ _("size of `%s' message is wrong. Ignoring.\n"),
"_ADD_PEER");
return;
}
@@ -212,7 +212,7 @@
size = ntohs(msg->header.size);
if (size <= sizeof(TESTBED_CS_MESSAGE) ) {
LOG(LOG_WARNING,
- _("received invalid '%s' message\n"),
+ _("received invalid `%s' message\n"),
"LOAD_MODULE");
return;
}
@@ -228,14 +228,14 @@
size - sizeof(TESTBED_CS_MESSAGE));
if (strlen(name) == 0) {
LOG(LOG_WARNING,
- _("received invalid '%s' message (empty module name)\n"),
+ _("received invalid `%s' message (empty module name)\n"),
"LOAD_MODULE");
return;
}
ok = coreAPI->loadApplicationModule(name);
if (ok != OK)
LOG(LOG_WARNING,
- _("loading module '%s' failed. Notifying client.\n"),
+ _("loading module `%s' failed. Notifying client.\n"),
name);
FREE(name);
sendAcknowledgement(client, ok);
@@ -253,7 +253,7 @@
size = ntohs(msg->header.size);
if (size <= sizeof(TESTBED_CS_MESSAGE) ) {
LOG(LOG_WARNING,
- _("received invalid '%s' message\n"),
+ _("received invalid `%s' message\n"),
"UNLOAD_MODULE");
return;
}
@@ -268,7 +268,7 @@
size - sizeof(TESTBED_CS_MESSAGE));
if (strlen(name) == 0) {
LOG(LOG_WARNING,
- _("received invalid '%s' message (empty module name)\n"),
+ _("received invalid `%s' message (empty module name)\n"),
"UNLOAD_MODULE");
return;
}
@@ -356,14 +356,14 @@
size = ntohs(msg->header.header.size);
if (size <= sizeof(TESTBED_CS_MESSAGE) ) {
LOG(LOG_WARNING,
- _("received invalid '%s' message\n"),
+ _("received invalid `%s' message\n"),
"ALLOW_CONNECT");
return;
}
count = (size - sizeof(TESTBED_CS_MESSAGE)) / sizeof(PeerIdentity);
if (count * sizeof(PeerIdentity) + sizeof(TESTBED_CS_MESSAGE) != size) {
LOG(LOG_WARNING,
- _("received invalid '%s' message\n"),
+ _("received invalid `%s' message\n"),
"ALLOW_CONNECT");
return;
}
@@ -400,14 +400,14 @@
size = ntohs(msg->header.header.size);
if (size <= sizeof(TESTBED_CS_MESSAGE) ) {
LOG(LOG_WARNING,
- _("received invalid '%s' message\n"),
+ _("received invalid `%s' message\n"),
"DENY_CONNECT");
return;
}
count = (size - sizeof(TESTBED_CS_MESSAGE)) / sizeof(PeerIdentity);
if (count * sizeof(PeerIdentity) + sizeof(TESTBED_CS_MESSAGE) != size) {
LOG(LOG_WARNING,
- _("received invalid '%s' message\n"),
+ _("received invalid `%s' message\n"),
"DENY_CONNECT");
return;
}
@@ -536,7 +536,7 @@
&pi->argv[0]);
LOG_FILE_STRERROR(LOG_ERROR, "execvp", pi->argv[0]);
fprintf(stderr,
- _("'%s' %s failed: %s\n"),
+ _("`%s' %s failed: %s\n"),
"execvp",
pi->argv[0],
STRERROR(errno));
@@ -622,7 +622,7 @@
if ( (size <= sizeof(TESTBED_CS_MESSAGE)) ||
(((TESTBED_EXEC_MESSAGE_GENERIC*)emsg)->commandLine[size-sizeof(TESTBED_CS_MESSAGE)-1]
!= '\0') ) {
LOG(LOG_WARNING,
- _("received invalid '%s' message: %s.\n"),
+ _("received invalid `%s' message: %s.\n"),
"EXEC",
(size <= sizeof(TESTBED_CS_MESSAGE))
? "size smaller or equal than TESTBED_CS_MESSAGE"
@@ -804,7 +804,7 @@
"tb_UPLOAD_FILE\n");
if (sizeof(TESTBED_UPLOAD_FILE_MESSAGE) > ntohs(msg->header.header.size)) {
LOG(LOG_ERROR,
- _("size of '%s' message is too short. Ignoring.\n"),
+ _("size of `%s' message is too short. Ignoring.\n"),
"UPLOAD_FILE");
sendAcknowledgement(client, SYSERR);
return;
@@ -1053,7 +1053,7 @@
ip = GETHOSTBYNAME(proxy);
if (ip == NULL) {
LOG(LOG_ERROR,
- _("Could not resolve name of HTTP proxy '%s'.\n"),
+ _("Could not resolve name of HTTP proxy `%s'.\n"),
proxy);
theProxy.sin_addr.s_addr = 0;
} else {
@@ -1077,7 +1077,7 @@
reg,
strlen(HTTP_URL)) ) {
LOG(LOG_WARNING,
- _("Invalid URL '%s' (must begin with '%s')\n"),
+ _("Invalid URL `%s' (must begin with `%s')\n"),
reg,
HTTP_URL);
return;
@@ -1116,7 +1116,7 @@
port = strtol(pstring, &buffer, 10);
if ( (port < 0) || (port > 65536) ) {
LOG(LOG_ERROR,
- _("Malformed http URL: '%s' at '%s'. Testbed-client not
registered.\n"),
+ _("Malformed http URL: `%s' at `%s'. Testbed-client not
registered.\n"),
reg,
buffer);
FREE(hostname);
@@ -1152,7 +1152,7 @@
ip_info = GETHOSTBYNAME(hostname);
if (ip_info == NULL) {
LOG(LOG_WARNING,
- _("Could not register testbed, host '%s' unknown\n"),
+ _("Could not register testbed, host `%s' unknown\n"),
hostname);
FREE(reg);
FREE(hostname);
@@ -1174,7 +1174,7 @@
(struct sockaddr*)&soaddr,
sizeof(soaddr)) < 0) {
LOG(LOG_WARNING,
- _("Failed to send HTTP request to host '%s': %s\n"),
+ _("Failed to send HTTP request to host `%s': %s\n"),
hostname,
STRERROR(errno));
FREE(reg);
@@ -1227,7 +1227,7 @@
curpos);
if (SYSERR == (int)curpos) {
LOG(LOG_WARNING,
- _("Failed so send HTTP request '%s' to host '%s': %s\n"),
+ _("Failed so send HTTP request `%s' to host `%s': %s\n"),
command,
hostname,
STRERROR(errno));
Modified: GNUnet/src/applications/topology_default/topology.c
===================================================================
--- GNUnet/src/applications/topology_default/topology.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/topology_default/topology.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -197,7 +197,7 @@
hash2enc(&indexMatch.match.hashPubKey,
&enc);
LOG(LOG_DEBUG,
- "Topology: trying to connect to '%s' in slot '%u'.\n",
+ "Topology: trying to connect to `%s' in slot '%u'.\n",
&enc,
index);
#endif
@@ -222,7 +222,7 @@
hash2enc(&hostId->hashPubKey,
&enc);
LOG(LOG_DEBUG,
- "Received pong from '%s', telling core that peer is still alive.\n",
+ "Received pong from `%s', telling core that peer is still alive.\n",
(char*)&enc);
#endif
coreAPI->confirmSessionUp(hostId);
@@ -257,7 +257,7 @@
hash2enc(&hi->hashPubKey,
&enc);
LOG(LOG_DEBUG,
- "Sending ping to '%s' to prevent connection timeout.\n",
+ "Sending ping to `%s' to prevent connection timeout.\n",
(char*)&enc);
#endif
if (OK != pingpong->ping(peer,
@@ -397,7 +397,7 @@
data,
len)) {
LOG(LOG_FAILURE,
- _("Version mismatch ('%s' vs. '%*.s'), run gnunet-update!\n"),
+ _("Version mismatch (`%s' vs. '%*.s'), run gnunet-update!\n"),
PACKAGE_VERSION,
len,
data);
Modified: GNUnet/src/applications/topology_f2f/topology.c
===================================================================
--- GNUnet/src/applications/topology_f2f/topology.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/topology_f2f/topology.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -191,7 +191,7 @@
hash2enc(&indexMatch.match.hashPubKey,
&enc);
LOG(LOG_DEBUG,
- "Topology: trying to connect to '%s'.\n",
+ "Topology: trying to connect to `%s'.\n",
&enc);
session->tryConnect(&indexMatch.match);
identity->blacklistHost(&indexMatch.match,
@@ -298,7 +298,7 @@
"FRIENDS");
if (tmp == NULL) {
LOG(LOG_ERROR,
- _("Need to have list of friends in configuration under '%s' in section
'%s'.\n"),
+ _("Need to have list of friends in configuration under `%s' in section
`%s'.\n"),
"FRIENDS",
"F2F");
return SYSERR;
@@ -317,7 +317,7 @@
data = MALLOC(size);
if (size != readFile(fn, size, data)) {
LOG(LOG_ERROR,
- _("Failed to read friends list from '%s'\n"),
+ _("Failed to read friends list from `%s'\n"),
fn);
FREE(fn);
return SYSERR;
@@ -345,7 +345,7 @@
friends[friendCount-1].hashPubKey = hc;
} else {
LOG(LOG_WARNING,
- _("Syntax error in topology specification, skipping bytes '%s'.\n"),
+ _("Syntax error in topology specification, skipping bytes `%s'.\n"),
&enc);
}
pos = pos + sizeof(EncName);
Modified: GNUnet/src/applications/tracekit/gnunet-tracekit.c
===================================================================
--- GNUnet/src/applications/tracekit/gnunet-tracekit.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/tracekit/gnunet-tracekit.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -70,7 +70,7 @@
unsigned int depth;
if (1 != sscanf(GNoptarg, "%ud", &depth)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-D");
return SYSERR;
} else {
@@ -84,7 +84,7 @@
unsigned int format;
if (1 != sscanf(GNoptarg, "%ud", &format)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-F");
return SYSERR;
} else {
@@ -119,7 +119,7 @@
unsigned int prio;
if (1 != sscanf(GNoptarg, "%ud", &prio)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-P");
return SYSERR;
} else {
@@ -133,7 +133,7 @@
unsigned int wait;
if (1 != sscanf(GNoptarg, "%ud", &wait)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-W");
return SYSERR;
} else {
@@ -219,7 +219,7 @@
if (count == 0) {
switch (format) {
case 0:
- printf(_("'%s' is not connected to any peer.\n"),
+ printf(_("`%s' is not connected to any peer.\n"),
(char*)&enc);
break;
case 1:
@@ -257,7 +257,7 @@
&other);
switch (format) {
case 0:
- printf(_("'%s' connected to '%s'.\n"),
+ printf(_("`%s' connected to `%s'.\n"),
(char*)&enc,
(char*)&other);
break;
@@ -295,7 +295,7 @@
&enc);
switch (format) {
case 0:
- printf(_("Peer '%s' did not report back.\n"),
+ printf(_("Peer `%s' did not report back.\n"),
(char*)&enc);
break;
case 1:
Modified: GNUnet/src/applications/tracekit/tracekit.c
===================================================================
--- GNUnet/src/applications/tracekit/tracekit.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/applications/tracekit/tracekit.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -59,7 +59,7 @@
if (ntohs(message->size) !=
sizeof(P2P_tracekit_reply_MESSAGE)+hostCount*sizeof(PeerIdentity)) {
LOG(LOG_WARNING,
- _("Received invalid '%s' message from '%s'.\n"),
+ _("Received invalid `%s' message from `%s'.\n"),
"P2P_tracekit_probe_MESSAGE",
&sen);
return SYSERR;
@@ -68,7 +68,7 @@
hash2enc(&reply->initiatorId.hashPubKey,
&initiator);
LOG(LOG_DEBUG,
- "TRACEKIT: Sending reply back to initiator '%s'.\n",
+ "TRACEKIT: Sending reply back to initiator `%s'.\n",
&initiator);
MUTEX_LOCK(&lock);
for (i=0;i<MAXROUTE;i++) {
@@ -118,7 +118,7 @@
hash2enc(&routeTable[i]->replyTo.hashPubKey,
&hop);
LOG(LOG_DEBUG,
- "TRACEKIT: forwarding to next hop '%s'\n",
+ "TRACEKIT: forwarding to next hop `%s'\n",
&hop);
coreAPI->unicast(&routeTable[i]->replyTo,
message,
@@ -183,7 +183,7 @@
if (ntohs(message->size) !=
sizeof(P2P_tracekit_probe_MESSAGE)) {
LOG(LOG_WARNING,
- _("Received invalid '%s' message from '%s'.\n"),
+ _("Received invalid `%s' message from `%s'.\n"),
"P2P_tracekit_probe_MESSAGE",
&sen);
return SYSERR;
@@ -210,7 +210,7 @@
equalsHashCode512(&routeTable[i]->initiator.hashPubKey,
&msg->initiatorId.hashPubKey) ) {
LOG(LOG_DEBUG,
- "TRACEKIT-PROBE %d from '%s' received twice (slot %d), ignored\n",
+ "TRACEKIT-PROBE %d from `%s' received twice (slot %d), ignored\n",
ntohl(msg->timestamp),
&init,
i);
@@ -255,7 +255,7 @@
= *sender;
MUTEX_UNLOCK(&lock);
LOG(LOG_DEBUG,
- "TRACEKIT-PROBE started at %d by peer '%s' received, processing in slot
%d with %u hops\n",
+ "TRACEKIT-PROBE started at %d by peer `%s' received, processing in slot
%d with %u hops\n",
ntohl(msg->timestamp),
&init,
sel,
@@ -328,7 +328,7 @@
if (ntohs(csProbe->header.size) !=
sizeof(CS_tracekit_probe_MESSAGE) ) {
LOG(LOG_WARNING,
- _("TRACEKIT: received invalid '%s' message\n"),
+ _("TRACEKIT: received invalid `%s' message\n"),
"CS_tracekit_probe_MESSAGE");
return SYSERR;
}
Modified: GNUnet/src/applications/transport/transport.c
===================================================================
--- GNUnet/src/applications/transport/transport.c 2005-08-18 19:16:39 UTC
(rev 1743)
+++ GNUnet/src/applications/transport/transport.c 2005-08-19 04:09:20 UTC
(rev 1744)
@@ -57,7 +57,7 @@
if (NULL == tapi->helo) {
#if DEBUG_TRANSPORT
LOG(LOG_INFO,
- "Transport '%s' failed to create hello\n",
+ "Transport `%s' failed to create hello\n",
tapi->transName);
#endif
MUTEX_UNLOCK(&tapis_lock);
@@ -636,7 +636,7 @@
if (helo_live <= 0) {
helo_live = 60 * 60;
LOG(LOG_WARNING,
- _("Option '%s' not set in configuration in section '%s',"
+ _("Option `%s' not set in configuration in section `%s',"
" setting to %dm.\n"),
"HELLOEXPIRES", "GNUNETD", helo_live / 60);
}
@@ -652,11 +652,11 @@
if (dso == NULL) {
LOG(LOG_WARNING,
_("You should specify at least one transport service"
- " under option '%s' in section '%s'.\n"),
+ " under option `%s' in section `%s'.\n"),
"TRANSPORTS", "GNUNETD");
} else {
LOG(LOG_DEBUG,
- "Loading transports '%s'\n",
+ "Loading transports `%s'\n",
dso);
next = dso;
@@ -677,7 +677,7 @@
"inittransport_",
pos);
if (tptr == NULL)
- errexit(_("Transport library '%s' did not provide "
+ errexit(_("Transport library `%s' did not provide "
"required function '%s%s'.\n"),
pos,
"inittransport_",
@@ -687,7 +687,7 @@
tapi->transName = STRDUP(pos);
addTransport(tapi);
LOG(LOG_DEBUG,
- "Loaded transport '%s'\n",
+ "Loaded transport `%s'\n",
pos);
} while (next != NULL);
FREE(dso);
@@ -698,7 +698,7 @@
hash2enc(&coreAPI->myIdentity->hashPubKey,
&myself));
LOG(LOG_DEBUG,
- _("I am peer '%s'.\n"),
+ _("I am peer `%s'.\n"),
&myself);
forEachTransport(&initHelper, NULL);
Modified: GNUnet/src/conf/conf.c
===================================================================
--- GNUnet/src/conf/conf.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/conf/conf.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -519,14 +519,14 @@
} while (conf_cnt);
if (conf_write(filename)) {
- printf(_("Unable to save configuration file '%s': %s.\n"),
+ printf(_("Unable to save configuration file `%s': %s.\n"),
filename,
STRERROR(errno));
FREE(filename);
return 1;
}
else {
- printf(_("Configuration file '%s' created.\n"),
+ printf(_("Configuration file `%s' created.\n"),
filename);
FREE(filename);
return 0;
Modified: GNUnet/src/conf/confdata.c
===================================================================
--- GNUnet/src/conf/confdata.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/conf/confdata.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -90,7 +90,7 @@
}
else {
LOG(LOG_ERROR,
- _("%s: symbol value '%s' invalid for %s\n"),
+ _("%s: symbol value `%s' invalid for %s\n"),
name,
val,
sym->name);
Modified: GNUnet/src/conf/gnunet-setup.c
===================================================================
--- GNUnet/src/conf/gnunet-setup.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/conf/gnunet-setup.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -175,7 +175,7 @@
W_OK)) &&
((0 == ACCESS(filename, F_OK)) || (0 != ACCESS(dirname, W_OK)))) {
errexit(_
- ("gnunet-setup must have write-access to the configuration file
'%s'\n"),
+ ("gnunet-setup must have write-access to the configuration file
`%s'\n"),
filename);
}
FREE(dirname);
@@ -232,7 +232,7 @@
else if(strcmp(operation, "wizard-curses") == 0) {
if(!testConfigurationString("GNUNETD", "_MAGIC_", "YES"))
errexit(_("Can only run wizard to configure gnunetd.\n"
- "Did you forget the '%s' option?\n"), "-d");
+ "Did you forget the `%s' option?\n"), "-d");
#if HAVE_CURSES
wizard_curs_main();
#else
@@ -242,7 +242,7 @@
else if(strcmp(operation, "wizard-gtk") == 0) {
if(!testConfigurationString("GNUNETD", "_MAGIC_", "YES"))
errexit(_("Can only run wizard to configure gnunetd.\n"
- "Did you forget the '%s' option?\n"), "-d");
+ "Did you forget the `%s' option?\n"), "-d");
#if HAVE_GTK
wizard_main();
#else
@@ -257,7 +257,7 @@
#endif
}
else {
- printf(_("Unknown operation '%s'\n"), operation);
+ printf(_("Unknown operation `%s'\n"), operation);
printf(_("Use --help to get a list of options.\n"));
FREE(operation);
doneUtil();
Modified: GNUnet/src/conf/menu.c
===================================================================
--- GNUnet/src/conf/menu.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/conf/menu.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -103,7 +103,7 @@
sym->type = type;
return;
}
- fprintf(stderr, "%s:%d:warning: type of '%s' redefined from '%s' to
'%s'\n",
+ fprintf(stderr, "%s:%d:warning: type of `%s' redefined from `%s' to
`%s'\n",
current_entry->file->name, current_entry->lineno,
sym->name ? sym->name : "<choice>", sym_type_name(sym->type),
sym_type_name(type));
}
Modified: GNUnet/src/conf/recreate.c
===================================================================
--- GNUnet/src/conf/recreate.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/conf/recreate.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -97,7 +97,7 @@
}
/* Write defaults */
if (conf_write(filename)) {
- printf(_("Unable to save configuration file '%s': %s.\n"),
+ printf(_("Unable to save configuration file `%s': %s.\n"),
filename,
STRERROR(errno));
FREE(filename);
Modified: GNUnet/src/conf/wizard_callbacks.c
===================================================================
--- GNUnet/src/conf/wizard_callbacks.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/conf/wizard_callbacks.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -166,7 +166,7 @@
char * err;
const char * prefix;
- prefix = _("Unable to save configuration file '%s':");
+ prefix = _("Unable to save configuration file `%s':");
err = malloc(strlen(filename) + strlen(prefix) + 1);
sprintf(err, prefix, filename);
Modified: GNUnet/src/conf/zconf_tab.c
===================================================================
--- GNUnet/src/conf/zconf_tab.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/conf/zconf_tab.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -1957,13 +1957,13 @@
static bool zconf_endtoken(int token, int starttoken, int endtoken)
{
if (token != endtoken) {
- zconfprint("unexpected '%s' within %s block",
zconf_tokenname(token), zconf_tokenname(starttoken));
+ zconfprint("unexpected `%s' within %s block",
zconf_tokenname(token), zconf_tokenname(starttoken));
zconfnerrs++;
return false;
}
if (current_menu->file != current_file) {
- zconfprint("'%s' in different file than '%s'",
zconf_tokenname(token), zconf_tokenname(starttoken));
- zconfprint("location of the '%s'", zconf_tokenname(starttoken));
+ zconfprint("`%s' in different file than `%s'",
zconf_tokenname(token), zconf_tokenname(starttoken));
+ zconfprint("location of the `%s'", zconf_tokenname(starttoken));
zconfnerrs++;
return false;
}
Modified: GNUnet/src/include/gnunet_util.h
===================================================================
--- GNUnet/src/include/gnunet_util.h 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/include/gnunet_util.h 2005-08-19 04:09:20 UTC (rev 1744)
@@ -1022,32 +1022,32 @@
* a failure of the command 'cmd' with the message given
* by strerror(errno).
*/
-#define LOG_STRERROR(level, cmd) do { LOG(level, _("'%s' failed at %s:%d with
error: %s\n"), cmd, __FILE__, __LINE__, STRERROR(errno)); } while(0);
+#define LOG_STRERROR(level, cmd) do { LOG(level, _("`%s' failed at %s:%d with
error: %s\n"), cmd, __FILE__, __LINE__, STRERROR(errno)); } while(0);
/**
* Die with an error message that indicates
* a failure of the command 'cmd' with the message given
* by strerror(errno).
*/
-#define DIE_STRERROR(cmd) do { errexit(_("'%s' failed at %s:%d with error:
%s\n"), cmd, __FILE__, __LINE__, STRERROR(errno)); } while(0);
+#define DIE_STRERROR(cmd) do { errexit(_("`%s' failed at %s:%d with error:
%s\n"), cmd, __FILE__, __LINE__, STRERROR(errno)); } while(0);
-#define DIE_STRERROR_FL(cmd, f, l) do { errexit(_("'%s' failed at %s:%d with
error: %s\n"), cmd, f, l, STRERROR(errno)); } while(0);
+#define DIE_STRERROR_FL(cmd, f, l) do { errexit(_("`%s' failed at %s:%d with
error: %s\n"), cmd, f, l, STRERROR(errno)); } while(0);
/**
* Log an error message at log-level 'level' that indicates
* a failure of the command 'cmd' on file 'filename'
* with the message given by strerror(errno).
*/
-#define LOG_FILE_STRERROR(level, cmd, filename) do { LOG(level, _("'%s' failed
on file '%s' at %s:%d with error: %s\n"), cmd, filename, __FILE__, __LINE__,
STRERROR(errno)); } while(0);
+#define LOG_FILE_STRERROR(level, cmd, filename) do { LOG(level, _("`%s' failed
on file `%s' at %s:%d with error: %s\n"), cmd, filename, __FILE__, __LINE__,
STRERROR(errno)); } while(0);
-#define LOG_FILE_STRERROR_FL(level, cmd, filename, f, l) do { LOG(level,
_("'%s' failed on file '%s' at %s:%d with error: %s\n"), cmd, filename, f, l,
STRERROR(errno)); } while(0);
+#define LOG_FILE_STRERROR_FL(level, cmd, filename, f, l) do { LOG(level,
_("`%s' failed on file `%s' at %s:%d with error: %s\n"), cmd, filename, f, l,
STRERROR(errno)); } while(0);
/**
* Die with an error message that indicates
* a failure of the command 'cmd' on file 'filename'
* with the message given by strerror(errno).
*/
-#define DIE_FILE_STRERROR(cmd, filename) do { errexit(_("'%s' failed on file
'%s' at %s:%d with error: %s\n"), cmd, filename, __FILE__, __LINE__,
STRERROR(errno)); } while(0);
+#define DIE_FILE_STRERROR(cmd, filename) do { errexit(_("`%s' failed on file
`%s' at %s:%d with error: %s\n"), cmd, filename, __FILE__, __LINE__,
STRERROR(errno)); } while(0);
/**
* gdb breakpoint
Modified: GNUnet/src/server/connection.c
===================================================================
--- GNUnet/src/server/connection.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/server/connection.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -968,7 +968,7 @@
j++;
if (j == 0) {
LOG(LOG_ERROR,
- _("'%s' selected %d out of %d messages (MTU: %d).\n"),
+ _("`%s' selected %d out of %d messages (MTU: %d).\n"),
"solveKnapsack",
j,
be->sendBufferSize,
@@ -1130,7 +1130,7 @@
hash2enc(&be->session.sender.hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "Core selected message of type %u and size %u for sending to peer
'%s'.\n",
+ "Core selected message of type %u and size %u for sending to peer
`%s'.\n",
ntohs(hdr->type),
ntohs(hdr->size),
&enc);
@@ -1596,7 +1596,7 @@
hash2enc(&hostId->hashPubKey,
&enc));
LOG(LOG_EVERYTHING,
- "Adding host '%s' to the connection table.\n",
+ "Adding host `%s' to the connection table.\n",
&enc);
#endif
@@ -1720,7 +1720,7 @@
hash2enc(&be->session.sender.hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "Shutting down connection with '%s'\n",
+ "Shutting down connection with `%s'\n",
&enc);
#endif
if (be->status == STAT_DOWN)
@@ -1919,7 +1919,7 @@
hash2enc(&entries[u]->session.sender.hashPubKey,
&enc));
LOG(LOG_INFO,
- "peer '%s' transmitted above limit: %llu bpm > %u bpm\n",
+ "peer `%s' transmitted above limit: %llu bpm > %u bpm\n",
&enc,
adjustedRR[u],
entries[u]->idealized_limit);
@@ -1939,7 +1939,7 @@
hash2enc(&entries[u]->session.sender.hashPubKey,
&enc));
LOG(LOG_INFO,
- "blacklisting '%s': sent repeatedly %llu bpm "
+ "blacklisting `%s': sent repeatedly %llu bpm "
"(limit %u bpm, target %u bpm)\n",
&enc,
adjustedRR[u],
@@ -2127,7 +2127,7 @@
hash2enc(&root->session.sender.hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "closing connection with '%s': "
+ "closing connection with `%s': "
"too much inactivity (%llu ms)\n",
&enc,
now - root->isAlive);
@@ -2189,7 +2189,7 @@
&enc);
if (size < sizeof(P2P_PACKET_HEADER)) {
LOG(LOG_WARNING,
- _("Message from '%s' discarded: invalid format.\n"),
+ _("Message from `%s' discarded: invalid format.\n"),
&enc);
return SYSERR;
}
@@ -2207,7 +2207,7 @@
#if DEBUG_CONNECTION
LOG(LOG_DEBUG,
- "Decrypting message from host '%s'\n",
+ "Decrypting message from host `%s'\n",
&enc);
#endif
MUTEX_LOCK(&lock);
@@ -2216,7 +2216,7 @@
(be->status == STAT_DOWN) ||
(be->status == STAT_SKEY_SENT) ) {
LOG(LOG_INFO,
- "Decrypting message from host '%s' failed, no sessionkey (yet)!\n",
+ "Decrypting message from host `%s' failed, no sessionkey (yet)!\n",
&enc);
/* try to establish a connection, that way, we don't keep
getting bogus messages until the other one times out. */
@@ -2238,7 +2238,7 @@
equalsHashCode512(&hc,
&msg->hash)) ) {
LOG(LOG_INFO,
- "Decrypting message from host '%s' failed, wrong sessionkey!\n",
+ "Decrypting message from host `%s' failed, wrong sessionkey!\n",
&enc);
addHost(sender, YES);
MUTEX_UNLOCK(&lock);
@@ -2325,7 +2325,7 @@
hash2enc(&sender->hashPubKey,
&enc));
LOG(LOG_INFO,
- "received HANGUP from '%s'\n",
+ "received HANGUP from `%s'\n",
&enc);
MUTEX_LOCK(&lock);
be = lookForHost(sender);
@@ -3132,7 +3132,7 @@
hash2enc(&node->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "Closing connection to '%s' as requested by application.\n",
+ "Closing connection to `%s' as requested by application.\n",
&enc);
shutdownConnection(be);
}
Modified: GNUnet/src/server/core.c
===================================================================
--- GNUnet/src/server/core.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/server/core.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -111,7 +111,7 @@
nxt->dsoName)) {
if (nxt->applicationInitialized == YES) {
LOG(LOG_WARNING,
- _("Application module '%s' already initialized!\n"),
+ _("Application module `%s' already initialized!\n"),
name);
FREE(name);
return SYSERR;
@@ -145,7 +145,7 @@
if (mptr == NULL) {
#if DEBUG_CORE
LOG(LOG_DEBUG,
- "Unloading library '%s' at %s:%d.\n",
+ "Unloading library `%s' at %s:%d.\n",
name, __FILE__, __LINE__);
#endif
unloadDynamicLibrary(library);
@@ -164,7 +164,7 @@
if (OK != ok) {
/* undo loading */
LOG(LOG_MESSAGE,
- _("Failed to load plugin '%s' at %s:%d. Unloading plugin.\n"),
+ _("Failed to load plugin `%s' at %s:%d. Unloading plugin.\n"),
name, __FILE__, __LINE__);
/* Note: we cannot assert that shutdownList == nxt here,
so we have to traverse the list again! */
@@ -187,7 +187,7 @@
spos->next = nxt->next;
#if DEBUG_CORE
LOG(LOG_DEBUG,
- "Unloading library '%s' at %s:%d.\n",
+ "Unloading library `%s' at %s:%d.\n",
name, __FILE__, __LINE__);
#endif
unloadDynamicLibrary(library);
@@ -211,14 +211,14 @@
if (pos == NULL) {
LOG(LOG_ERROR,
- _("Could not shutdown '%s': application not loaded\n"),
+ _("Could not shutdown `%s': application not loaded\n"),
name);
return SYSERR;
}
if (pos->applicationInitialized != YES) {
LOG(LOG_WARNING,
- _("Could not shutdown application '%s': not initialized\n"),
+ _("Could not shutdown application `%s': not initialized\n"),
name);
return SYSERR;
}
@@ -227,7 +227,7 @@
pos->dsoName);
if (mptr == NULL) {
LOG(LOG_ERROR,
- _("Could not find '%s%s' method in library '%s'.\n"),
+ _("Could not find '%s%s' method in library `%s'.\n"),
"done_",
pos->dsoName,
pos->dsoName);
@@ -239,7 +239,7 @@
if (pos->serviceCount > 0) {
#if DEBUG_CORE
LOG(LOG_DEBUG,
- "Application shutdown, but service '%s' is still in use.\n",
+ "Application shutdown, but service `%s' is still in use.\n",
pos->dsoName);
#endif
return OK;
@@ -260,7 +260,7 @@
valgrind */
#if DEBUG_CORE
LOG(LOG_DEBUG,
- "Unloading application plugin '%s' at %s:%d.\n",
+ "Unloading application plugin `%s' at %s:%d.\n",
pos->dsoName, __FILE__, __LINE__);
#endif
unloadDynamicLibrary(pos->library);
@@ -302,7 +302,7 @@
FREE(name);
#if DEBUG_CORE
LOG(LOG_DEBUG,
- "Already have service '%s' as %p.\n",
+ "Already have service `%s' as %p.\n",
pos,
nxt->servicePTR);
#endif
@@ -323,7 +323,7 @@
FREE(name);
#if DEBUG_CORE
LOG(LOG_DEBUG,
- "Initialized service '%s' as %p.\n",
+ "Initialized service `%s' as %p.\n",
pos,
nxt->servicePTR);
#endif
@@ -347,7 +347,7 @@
if (mptr == NULL) {
#if DEBUG_CORE
LOG(LOG_DEBUG,
- "Unloading library '%s' at %s:%d.\n",
+ "Unloading library `%s' at %s:%d.\n",
name, __FILE__, __LINE__);
#endif
unloadDynamicLibrary(library);
@@ -364,14 +364,14 @@
nxt->servicePTR = NULL;
shutdownList = nxt;
LOG(LOG_DEBUG,
- "Loading service '%s'\n",
+ "Loading service `%s'\n",
pos);
api = mptr(&applicationCore);
if (api != NULL) {
nxt->servicePTR = api;
} else {
LOG(LOG_WARNING,
- "Failed to load service '%s'\n",
+ "Failed to load service `%s'\n",
pos);
nxt->serviceCount = 0;
}
@@ -401,7 +401,7 @@
if (pos->serviceCount > 1) {
#if DEBUG_CORE
LOG(LOG_DEBUG,
- "Service '%s' still in use, not unloaded.\n",
+ "Service `%s' still in use, not unloaded.\n",
pos->dsoName);
#endif
pos->serviceCount--;
@@ -409,14 +409,14 @@
}
LOG(LOG_DEBUG,
- "Unloading service '%s'.\n",
+ "Unloading service `%s'.\n",
pos->dsoName);
mptr = bindDynamicMethod(pos->library,
"release_",
pos->dsoName);
if (mptr == NULL) {
LOG(LOG_ERROR,
- _("Could not find '%s%s' method in library '%s'.\n"),
+ _("Could not find '%s%s' method in library `%s'.\n"),
"release_",
pos->dsoName,
pos->dsoName);
@@ -434,7 +434,7 @@
if (pos->applicationInitialized == YES) {
#if DEBUG_CORE
LOG(LOG_DEBUG,
- "Protocol '%s' still in use, not unloaded.\n",
+ "Protocol `%s' still in use, not unloaded.\n",
pos->dsoName);
#endif
return OK; /* protocol still in use! */
@@ -491,11 +491,11 @@
}
if (strlen(pos) > 0) {
LOG(LOG_DEBUG,
- "Loading application '%s'\n",
+ "Loading application `%s'\n",
pos);
if (OK != loadApplicationModule(pos))
LOG(LOG_ERROR,
- _("Could not initialize application '%s'\n"),
+ _("Could not initialize application `%s'\n"),
pos);
}
} while (next != NULL);
@@ -512,7 +512,7 @@
if ( (pos->applicationInitialized == YES) &&
(OK != unloadApplicationModule(pos->dsoName)) )
LOG(LOG_ERROR,
- _("Could not properly shutdown application '%s'.\n"),
+ _("Could not properly shutdown application `%s'.\n"),
pos->dsoName);
pos = nxt;
}
@@ -608,7 +608,7 @@
/* do not unload plugins if we're using valgrind */
#if DEBUG_CORE
LOG(LOG_DEBUG,
- "Unloading library '%s' at %s:%d.\n",
+ "Unloading library `%s' at %s:%d.\n",
pos->dsoName, __FILE__, __LINE__);
#endif
unloadDynamicLibrary(pos->library);
@@ -629,7 +629,7 @@
pos = shutdownList;
while (pos != NULL) {
LOG(LOG_ERROR,
- _("Could not properly unload service '%s'!\n"),
+ _("Could not properly unload service `%s'!\n"),
pos->dsoName);
pos = pos->next;
}
Modified: GNUnet/src/server/gnunet-peer-info.c
===================================================================
--- GNUnet/src/server/gnunet-peer-info.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/server/gnunet-peer-info.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -141,7 +141,7 @@
NO);
if (NULL == helo) {
LOG(LOG_WARNING,
- _("Could not get address of peer '%s'.\n"),
+ _("Could not get address of peer `%s'.\n"),
&enc);
return;
}
@@ -156,12 +156,12 @@
FREE(helo);
if (info == NULL) {
LOG(LOG_WARNING,
- _("Could not get address of peer '%s'.\n"),
+ _("Could not get address of peer `%s'.\n"),
&enc);
return;
}
- printf(_("Peer '%s' with trust %8u and address '%s'\n"),
+ printf(_("Peer `%s' with trust %8u and address `%s'\n"),
(char*)&enc,
identity->getHostTrust(id),
info);
Modified: GNUnet/src/server/gnunet-transport-check.c
===================================================================
--- GNUnet/src/server/gnunet-transport-check.c 2005-08-18 19:16:39 UTC (rev
1743)
+++ GNUnet/src/server/gnunet-transport-check.c 2005-08-19 04:09:20 UTC (rev
1744)
@@ -105,7 +105,7 @@
helo = tapi->createhello();
if (helo == NULL) {
fprintf(stderr,
- _("'%s': Could not create hello.\n"),
+ _("`%s': Could not create hello.\n"),
tapi->transName);
*res = SYSERR;
return;
@@ -114,7 +114,7 @@
if (OK != tapi->connect(helo,
&tsession)) {
fprintf(stderr,
- _("'%s': Could not connect.\n"),
+ _("`%s': Could not connect.\n"),
tapi->transName);
*res = SYSERR;
FREE(helo);
@@ -144,7 +144,7 @@
(char*)noise,
ntohs(noise->size))) {
fprintf(stderr,
- _("'%s': Could not send.\n"),
+ _("`%s': Could not send.\n"),
tapi->transName);
*res = SYSERR;
tapi->disconnect(tsession);
@@ -164,7 +164,7 @@
resumeCron();
if (ok != YES) {
FPRINTF(stderr,
- _("'%s': Did not receive message within %llu ms.\n"),
+ _("`%s': Did not receive message within %llu ms.\n"),
tapi->transName,
timeout);
*res = SYSERR;
@@ -178,14 +178,14 @@
cronTime(&end);
if (OK != tapi->disconnect(tsession)) {
fprintf(stderr,
- _("'%s': Could not disconnect.\n"),
+ _("`%s': Could not disconnect.\n"),
tapi->transName);
*res = SYSERR;
SEMAPHORE_FREE(sem);
return;
}
SEMAPHORE_FREE(sem);
- printf(_("'%s' transport OK. It took %ums to transmit %d messages of %d
bytes each.\n"),
+ printf(_("`%s' transport OK. It took %ums to transmit %d messages of %d
bytes each.\n"),
tapi->transName,
(unsigned int) ((end - start)/cronMILLIS),
getConfigurationInt("TRANSPORT-CHECK",
@@ -218,7 +218,7 @@
char * str;
str = transport->heloToString(xhelo);
fprintf(stderr,
- _("\nContacting '%s'."),
+ _("\nContacting `%s'."),
str);
FREE(str);
} else
@@ -404,7 +404,7 @@
unsigned int size;
if (1 != sscanf(GNoptarg, "%ud", &size)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-s");
return SYSERR;
} else {
@@ -424,7 +424,7 @@
unsigned int repeat;
if (1 != sscanf(GNoptarg, "%ud", &repeat)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-r");
return SYSERR;
} else {
@@ -438,7 +438,7 @@
unsigned int repeat;
if (1 != sscanf(GNoptarg, "%ud", &repeat)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-X");
return SYSERR;
} else {
@@ -451,7 +451,7 @@
case 'T':{
if (1 != SSCANF(GNoptarg, "%llu", &timeout)) {
LOG(LOG_FAILURE,
- _("You must pass a number to the '%s' option.\n"),
+ _("You must pass a number to the `%s' option.\n"),
"-T");
return SYSERR;
}
Modified: GNUnet/src/server/gnunet-update.c
===================================================================
--- GNUnet/src/server/gnunet-update.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/server/gnunet-update.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -131,7 +131,7 @@
} /* end of parsing commandline */
}
if (user && (! get)) {
- printf(_("Option '%s' makes no sense without option '%s'."),
+ printf(_("Option `%s' makes no sense without option `%s'."),
"-u", "-g");
return SYSERR;
}
@@ -233,11 +233,11 @@
}
if (strlen(pos) > 0) {
LOG(LOG_MESSAGE,
- _("Updating data for module '%s'\n"),
+ _("Updating data for module `%s'\n"),
pos);
if (OK != updateModule(pos))
LOG(LOG_ERROR,
- _("Failed to update data for module '%s'\n"),
+ _("Failed to update data for module `%s'\n"),
pos);
}
} while (next != NULL);
Modified: GNUnet/src/server/gnunetd.c
===================================================================
--- GNUnet/src/server/gnunetd.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/server/gnunetd.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -112,7 +112,7 @@
essentially forces running gnunet-update
whenever the version OR configuration changes. */
if (OK != checkUpToDate())
- errexit(_("Configuration or GNUnet version changed. You need to run
'%s'!\n"),
+ errexit(_("Configuration or GNUnet version changed. You need to run
`%s'!\n"),
"gnunet-update");
/* init 2: become deamon, initialize core subsystems */
@@ -120,7 +120,7 @@
detachFromTerminal(filedes);
LOG(LOG_MESSAGE,
- _("'%s' starting\n"),
+ _("`%s' starting\n"),
"gnunetd");
initCore();
@@ -142,12 +142,12 @@
sleep */
initSignalHandlers();
LOG(LOG_MESSAGE,
- _("'%s' startup complete.\n"),
+ _("`%s' startup complete.\n"),
"gnunetd");
waitForSignalHandler();
LOG(LOG_MESSAGE,
- _("'%s' is shutting down.\n"),
+ _("`%s' is shutting down.\n"),
"gnunetd");
/* init 5: shutdown */
Modified: GNUnet/src/server/handler.c
===================================================================
--- GNUnet/src/server/handler.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/server/handler.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -364,7 +364,7 @@
hash2enc(&sender->hashPubKey,
&enc));
LOG(LOG_WARNING,
- _("Received corrupt message from peer '%s'in %s:%d.\n"),
+ _("Received corrupt message from peer `%s'in %s:%d.\n"),
&enc,
__FILE__, __LINE__);
return;
@@ -392,7 +392,7 @@
hash2enc(&sender->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "Received %s message of type %u from peer '%s'\n",
+ "Received %s message of type %u from peer `%s'\n",
wasEncrypted ? "encrypted" : "plaintext",
ptyp,
&enc);
@@ -466,7 +466,7 @@
hash2enc(&sender->hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "Strictly blacklisted peer '%s' sent message, dropping for now.\n",
+ "Strictly blacklisted peer `%s' sent message, dropping for now.\n",
(char*)&enc);
return;
}
Modified: GNUnet/src/server/startup.c
===================================================================
--- GNUnet/src/server/startup.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/server/startup.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -120,7 +120,7 @@
if (ntohs(msg->size) != sizeof(CS_MESSAGE_HEADER)) {
LOG(LOG_WARNING,
- _("The '%s' request received from client is malformed.\n"),
+ _("The `%s' request received from client is malformed.\n"),
"shutdown");
return SYSERR;
}
@@ -266,7 +266,7 @@
return getFileName("GNUNETD",
"PIDFILE",
_("You must specify a name for the PID file in section"
- " '%s' under '%s'.\n"));
+ " `%s' under `%s'.\n"));
}
/**
@@ -280,7 +280,7 @@
pidfd = FOPEN(pif, "w");
if (pidfd == NULL) {
LOG(LOG_WARNING,
- _("Could not write PID to file '%s': %s.\n"),
+ _("Could not write PID to file `%s': %s.\n"),
pif,
STRERROR(errno));
} else {
@@ -409,7 +409,7 @@
pws = getpwnam(user);
if(pws == NULL) {
LOG(LOG_WARNING,
- _("User '%s' not known, cannot change UID to it.\n"), user);
+ _("User `%s' not known, cannot change UID to it.\n"), user);
return;
}
if((0 != setgid(pws->pw_gid)) ||
@@ -418,7 +418,7 @@
if((0 != setregid(pws->pw_gid, pws->pw_gid)) ||
(0 != setreuid(pws->pw_uid, pws->pw_uid)))
LOG(LOG_WARNING,
- _("Cannot change user/group to '%s': %s\n"),
+ _("Cannot change user/group to `%s': %s\n"),
user, STRERROR(errno));
}
}
@@ -522,7 +522,7 @@
_("Invalid command-line arguments:\n"));
while (GNoptind < argc) {
LOG(LOG_WARNING,
- _("Argument %d: '%s'\n"),
+ _("Argument %d: `%s'\n"),
GNoptind+1,
argv[GNoptind]);
GNoptind++;
Modified: GNUnet/src/server/tcpserver.c
===================================================================
--- GNUnet/src/server/tcpserver.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/server/tcpserver.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -422,7 +422,7 @@
(struct sockaddr *) &serverAddr,
sizeof(serverAddr)) < 0) {
LOG(LOG_ERROR,
- _("'%s' failed for port %d: %s. Will try again in %d seconds.\n"),
+ _("`%s' failed for port %d: %s. Will try again in %d seconds.\n"),
"bind",
listenerPort,
STRERROR(errno),
@@ -693,7 +693,7 @@
} else {
trustedNetworks_ = parseRoutes(ch);
if (trustedNetworks_ == NULL)
- errexit(_("Malformed network specification in the configuration in
section '%s' for entry '%s': %s\n"),
+ errexit(_("Malformed network specification in the configuration in
section `%s' for entry `%s': %s\n"),
"NETWORK",
"TRUSTED",
ch);
Modified: GNUnet/src/transports/http.c
===================================================================
--- GNUnet/src/transports/http.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/transports/http.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -609,7 +609,7 @@
hash2enc(&httpSession->sender.hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "Http welcome message from peer '%s' received.\n",
+ "Http welcome message from peer `%s' received.\n",
&enc);
#endif
GROW(httpSession->rbuff,
@@ -1448,7 +1448,7 @@
ip = GETHOSTBYNAME(proxy);
if (ip == NULL) {
LOG(LOG_ERROR,
- _("Could not resolve name of HTTP proxy '%s'.\n"),
+ _("Could not resolve name of HTTP proxy `%s'.\n"),
proxy);
theProxy.sin_addr.s_addr = 0;
} else {
Modified: GNUnet/src/transports/ip.c
===================================================================
--- GNUnet/src/transports/ip.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/transports/ip.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -64,7 +64,7 @@
ip = GETHOSTBYNAME(hostname);
if (ip == NULL) {
LOG(LOG_ERROR,
- _("Could not find IP of host '%s': %s\n"),
+ _("Could not find IP of host `%s': %s\n"),
hostname,
hstrerror(h_errno));
FREE(hostname);
@@ -138,7 +138,7 @@
return OK;
}
LOG(LOG_WARNING,
- _("Could not find interface '%s' in '%s', "
+ _("Could not find interface `%s' in `%s', "
"trying to find another interface.\n"),
"ioctl",
interfaces);
@@ -163,7 +163,7 @@
closefile(sockfd);
LOG(LOG_WARNING,
- _("Could not obtain IP for interface '%s' using '%s'.\n"),
+ _("Could not obtain IP for interface `%s' using `%s'.\n"),
"ioctl",
interfaces);
FREE(interfaces);
@@ -208,7 +208,7 @@
{
LOG(LOG_WARNING,
_("Could not find an IP address for "
- "interface '%s'.\n"),
+ "interface `%s'.\n"),
interfaces);
GlobalFree(pTable);
@@ -218,7 +218,7 @@
else if (iAddrCount > 1)
LOG(LOG_WARNING,
_("There is more than one IP address specified"
- " for interface '%s'.\nGNUnet will "
+ " for interface `%s'.\nGNUnet will "
"use %u.%u.%u.%u.\n"),
interfaces,
PRIP(ntohl(dwIP)));
@@ -238,7 +238,7 @@
pHost = GETHOSTBYNAME("www.example.com");
if (! pHost) {
LOG(LOG_ERROR,
- _("Could not resolve '%s' to "
+ _("Could not resolve `%s' to "
"determine our IP address: %s\n"),
"www.example.com",
STRERROR(errno));
@@ -306,7 +306,7 @@
ip = GETHOSTBYNAME(ipString);
if (ip == NULL) {
LOG(LOG_ERROR,
- _("Could not resolve '%s': %s\n"),
+ _("Could not resolve `%s': %s\n"),
ipString, hstrerror(h_errno));
retval = SYSERR;
} else {
Modified: GNUnet/src/transports/ip6.c
===================================================================
--- GNUnet/src/transports/ip6.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/transports/ip6.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -57,7 +57,7 @@
ip = gethostbyname2(hostname, AF_INET6);
if (ip == NULL) {
LOG(LOG_ERROR,
- _("Could not find IP of host '%s': %s\n"),
+ _("Could not find IP of host `%s': %s\n"),
hostname,
hstrerror(h_errno));
FREE(hostname);
@@ -97,7 +97,7 @@
AF_INET6);
if (ip == NULL) {
LOG(LOG_ERROR,
- _("Could not resolve '%s': %s\n"),
+ _("Could not resolve `%s': %s\n"),
ipString,
hstrerror(h_errno));
retval = SYSERR;
Modified: GNUnet/src/transports/smtp.c
===================================================================
--- GNUnet/src/transports/smtp.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/transports/smtp.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -293,7 +293,7 @@
ip = GETHOSTBYNAME(hostname);
if (ip == NULL) {
LOG(LOG_ERROR,
- _("Could not resolve name of SMTP server '%s': %s"),
+ _("Could not resolve name of SMTP server `%s': %s"),
hostname, hstrerror(h_errno));
FREE(hostname);
return -1;
@@ -413,7 +413,7 @@
pipename = getFileName("SMTP",
"PIPE",
_("You must specify the name of a "
- "pipe for the SMTP transport in section '%s' under
'%s'.\n"));
+ "pipe for the SMTP transport in section `%s' under
`%s'.\n"));
GNUNET_ASSERT(pipename != NULL);
UNLINK(pipename);
if (0 != mkfifo(pipename,
@@ -575,7 +575,7 @@
if (strlen(filter) > FILTER_STRING_SIZE) {
filter[FILTER_STRING_SIZE] = '\0';
LOG(LOG_WARNING,
- _("SMTP filter string to long, capped to '%s'\n"),
+ _("SMTP filter string to long, capped to `%s'\n"),
filter);
}
i = (strlen(email) + 8) & (~7); /* make multiple of 8 */
@@ -745,7 +745,7 @@
MUTEX_UNLOCK(&smtpLock);
if (res != OK)
LOG(LOG_WARNING,
- _("Sending E-mail to '%s' failed.\n"),
+ _("Sending E-mail to `%s' failed.\n"),
&haddr->senderAddress[0]);
incrementBytesSent(ssize);
FREE(ebody);
@@ -890,7 +890,7 @@
mtu = MESSAGE_SIZE;
if (mtu < 1200)
LOG(LOG_ERROR,
- _("MTU for '%s' is probably too low (fragmentation not
implemented!)\n"),
+ _("MTU for `%s' is probably too low (fragmentation not
implemented!)\n"),
"SMTP");
smtpAPI.protocolNumber = SMTP_PROTOCOL_NUMBER;
Modified: GNUnet/src/transports/tcp.c
===================================================================
--- GNUnet/src/transports/tcp.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/transports/tcp.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -476,7 +476,7 @@
hash2enc(&tcpSession->sender.hashPubKey,
&enc));
LOG(LOG_DEBUG,
- "tcp welcome message from '%s' received\n",
+ "tcp welcome message from `%s' received\n",
&enc);
#endif
memmove(&tcpSession->rbuff[0],
Modified: GNUnet/src/transports/tcp6.c
===================================================================
--- GNUnet/src/transports/tcp6.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/transports/tcp6.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -999,7 +999,7 @@
rtn = getaddrinfo(hostname, NULL, &hints, &res0);
if (rtn != 0) {
LOG(LOG_WARNING,
- _("'%s': unknown service: %s\n"),
+ _("`%s': unknown service: %s\n"),
__FUNCTION__,
gai_strerror(rtn));
return SYSERR;
Modified: GNUnet/src/transports/udp.c
===================================================================
--- GNUnet/src/transports/udp.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/transports/udp.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -143,8 +143,8 @@
port = ntohs(pse->s_port);
else
errexit(_("Cannot determine port to bind to. "
- " Define in configuration file in section '%s' under '%s' "
- "or in '%s' under %s/%s.\n"),
+ " Define in configuration file in section `%s' under `%s' "
+ "or in `%s' under %s/%s.\n"),
"UDP",
"PORT",
"/etc/services",
@@ -655,7 +655,7 @@
mtu = MESSAGE_SIZE;
if (mtu < 1200)
LOG(LOG_ERROR,
- _("MTU for '%s' is probably too low (fragmentation not
implemented!)\n"),
+ _("MTU for `%s' is probably too low (fragmentation not
implemented!)\n"),
"UDP");
udpAPI.protocolNumber = UDP_PROTOCOL_NUMBER;
Modified: GNUnet/src/transports/udp6.c
===================================================================
--- GNUnet/src/transports/udp6.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/transports/udp6.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -126,8 +126,8 @@
port = ntohs(pse->s_port);
else
errexit(_("Cannot determine port to bind to. "
- " Define in configuration file in section '%s' under '%s' "
- "or in '%s' under %s/%s.\n"),
+ " Define in configuration file in section `%s' under `%s' "
+ "or in `%s' under %s/%s.\n"),
"UDP6",
"PORT",
"/etc/services",
@@ -633,7 +633,7 @@
mtu = MESSAGE_SIZE;
if (mtu < 1200)
LOG(LOG_ERROR,
- _("MTU for '%s' is probably too low (fragmentation not
implemented!)\n"),
+ _("MTU for `%s' is probably too low (fragmentation not
implemented!)\n"),
"UDP6");
udp6API.protocolNumber = UDP6_PROTOCOL_NUMBER;
Modified: GNUnet/src/util/configuration.c
===================================================================
--- GNUnet/src/util/configuration.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/configuration.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -177,11 +177,11 @@
if (1 == sscanf(line, "@INLINE@ %191[^\n]", value) ) {
char * expanded = expandFileName(value);
LOG(LOG_DEBUG,
- _("inlining configration file '%s'\n"),
+ _("inlining configration file `%s'\n"),
expanded);
if (cfg_parse_file(expanded) != 0)
LOG(LOG_WARNING,
- _("Could not parse configuration file '%s'.\n"),
+ _("Could not parse configuration file `%s'.\n"),
value);
} else if (1 == sscanf(line,"[%99[^]]]", value)) {
/* [section] */
@@ -217,7 +217,7 @@
} else {
/* Huh ? */
LOG(LOG_ERROR,
- _("Syntax error in configuration file '%s' at line %d.\n"),
+ _("Syntax error in configuration file `%s' at line %d.\n"),
filename, nr);
}
}
@@ -506,7 +506,7 @@
FREE(c);
/* try generating a configuration file */
LOG(LOG_WARNING,
- _("Configuration file '%s' not found. Run gnunet-setup!\n"),
+ _("Configuration file `%s' not found. Run gnunet-setup!\n"),
expCfgName);
#ifdef WINDOWS
if (! testConfigurationString("GNUNETD",
@@ -515,11 +515,11 @@
MessageBox(0, _("Configuration file not found. Please run GNUnet Setup "
"(Client Configuration) first."), _("Error"), MB_ICONSTOP | MB_OK);
#endif
- errexit(_("Configuration file '%s' not found. Run gnunet-setup!\n"),
+ errexit(_("Configuration file `%s' not found. Run gnunet-setup!\n"),
expCfgName);
}
if (0 == assertIsFile(expCfgName))
- errexit(_("Cannot open configuration file '%s'.\n"),
+ errexit(_("Cannot open configuration file `%s'.\n"),
expCfgName);
FREENONNULL(cfgName);
@@ -535,7 +535,7 @@
parseConfigInit = NO;
}
if (!readConfigFile(configuration_filename))
- errexit("Failed to parse configuration file '%s'.\n",
+ errexit("Failed to parse configuration file `%s'.\n",
configuration_filename);
MUTEX_UNLOCK(&configLock);
Modified: GNUnet/src/util/cron.c
===================================================================
--- GNUnet/src/util/cron.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/cron.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -363,7 +363,7 @@
(deltaRepeat != runningRepeat_) ) {
BREAK();
LOG(LOG_WARNING,
- _("'%s' called with cron job not in queue, adding. This may not be
what you want.\n"),
+ _("`%s' called with cron job not in queue, adding. This may not be
what you want.\n"),
__FUNCTION__);
addCronJob(method,
0,
Modified: GNUnet/src/util/daemon.c
===================================================================
--- GNUnet/src/util/daemon.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/daemon.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -139,7 +139,7 @@
args);
LOG_STRERROR(LOG_FAILURE, "exec");
LOG(LOG_FAILURE,
- _("Attempted path to '%s' was '%s'.\n"),
+ _("Attempted path to `%s' was `%s'.\n"),
"gnunetd",
(path == NULL) ? "gnunetd" : path);
FREENONNULL(path); /* yeah, right, like we're likely to get
Modified: GNUnet/src/util/dso.c
===================================================================
--- GNUnet/src/util/dso.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/dso.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -91,7 +91,7 @@
libhandle = lt_dlopenext(libname);
if (libhandle == NULL) {
LOG(LOG_ERROR,
- _("'%s' failed for library '%s' at %s:%d with error: %s\n"),
+ _("`%s' failed for library `%s' at %s:%d with error: %s\n"),
"lt_dlopenext",
libname,
__FILE__, __LINE__,
@@ -141,7 +141,7 @@
dsoname);
if (mptr == NULL)
LOG(LOG_ERROR,
- _("'%s' failed to resolve method '%s%s' at %s:%d with error: %s\n"),
+ _("`%s' failed to resolve method '%s%s' at %s:%d with error: %s\n"),
"lt_dlsym",
methodprefix, dsoname,
__FILE__, __LINE__,
Modified: GNUnet/src/util/hostkey_gcrypt.c
===================================================================
--- GNUnet/src/util/hostkey_gcrypt.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/hostkey_gcrypt.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -53,14 +53,14 @@
* a failure of the command 'cmd' with the message given
* by gcry_strerror(rc).
*/
-#define LOG_GCRY(level, cmd, rc) do { LOG(level, _("'%s' failed at %s:%d with
error: %s\n"), cmd, __FILE__, __LINE__, gcry_strerror(rc)); } while(0);
+#define LOG_GCRY(level, cmd, rc) do { LOG(level, _("`%s' failed at %s:%d with
error: %s\n"), cmd, __FILE__, __LINE__, gcry_strerror(rc)); } while(0);
/**
* Die with an error message that indicates
* a failure of the command 'cmd' with the message given
* by gcry_strerror(rc).
*/
-#define DIE_GCRY(cmd, rc) do { errexit(_("'%s' failed at %s:%d with error:
%s\n"), cmd, __FILE__, __LINE__, gcry_strerror(rc)); } while(0);
+#define DIE_GCRY(cmd, rc) do { errexit(_("`%s' failed at %s:%d with error:
%s\n"), cmd, __FILE__, __LINE__, gcry_strerror(rc)); } while(0);
Modified: GNUnet/src/util/ipcheck.c
===================================================================
--- GNUnet/src/util/ipcheck.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/ipcheck.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -97,7 +97,7 @@
for (j=0;j<8;j++)
if (temps[j] > 0xFF) {
LOG(LOG_ERROR,
- _("Invalid format for IP: '%s'\n"),
+ _("Invalid format for IP: `%s'\n"),
&routeList[pos]);
FREE(result);
return NULL;
@@ -161,7 +161,7 @@
}
if (pos < strlen(routeList)) {
LOG(LOG_ERROR,
- _("Invalid network notation (additional characters: '%s')."),
+ _("Invalid network notation (additional characters: `%s')."),
&routeList[pos]);
FREE(result);
return NULL; /* oops */
@@ -232,7 +232,7 @@
count++;
if (routeList[len-1] != ';') {
LOG(LOG_ERROR,
- _("Invalid network notation (does not end with ';': '%s')\n"),
+ _("Invalid network notation (does not end with ';': `%s')\n"),
routeList);
FREE(routeList);
return NULL;
@@ -264,7 +264,7 @@
&result[i].netmask);
if (ret <= 0) {
LOG(LOG_ERROR,
- _("Wrong format '%s' for netmask: %s\n"),
+ _("Wrong format `%s' for netmask: %s\n"),
&routeList[slash+1],
STRERROR(errno));
FREE(result);
@@ -278,7 +278,7 @@
&result[i].network);
if (ret <= 0) {
LOG(LOG_ERROR,
- _("Wrong format '%s' for network: %s\n"),
+ _("Wrong format `%s' for network: %s\n"),
&routeList[slash+1],
STRERROR(errno));
FREE(result);
Modified: GNUnet/src/util/logging.c
===================================================================
--- GNUnet/src/util/logging.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/logging.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -266,7 +266,7 @@
i++;
free(caplog);
if (loglevels[i] == NULL)
- errexit(_("Invalid LOGLEVEL '%s' specified.\n"),
+ errexit(_("Invalid LOGLEVEL `%s' specified.\n"),
log);
return (LOG_Level) i;
}
Modified: GNUnet/src/util/port.c
===================================================================
--- GNUnet/src/util/port.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/port.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -43,7 +43,7 @@
setting);
if (port == 0) {
errexit(_("Cannot determine port of gnunetd server. "
- "Define in configuration file in section '%s' under '%s'.\n"),
+ "Define in configuration file in section `%s' under `%s'.\n"),
"NETWORK",
setting);
}
Modified: GNUnet/src/util/semaphore.c
===================================================================
--- GNUnet/src/util/semaphore.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/semaphore.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -169,11 +169,11 @@
ret = pthread_mutex_lock(mut);
if (ret != 0) {
if (ret == EINVAL)
- errexit(_("Invalid argument for '%s' at %s:%d.\n"),
+ errexit(_("Invalid argument for `%s' at %s:%d.\n"),
"pthread_mutex_lock",
filename, line);
if (ret == EDEADLK)
- errexit(_("Deadlock due to '%s' at %s:%d.\n"),
+ errexit(_("Deadlock due to `%s' at %s:%d.\n"),
"pthread_mutex_lock",
filename, line);
GNUNET_ASSERT(0);
@@ -195,11 +195,11 @@
ret = pthread_mutex_unlock(mut);
if (ret != 0) {
if (ret == EINVAL)
- errexit(_("Invalid argument for '%s' at %s:%d.\n"),
+ errexit(_("Invalid argument for `%s' at %s:%d.\n"),
"pthread_mutex_unlock",
filename, line);
if (ret == EPERM)
- errexit(_("Permission denied for '%s' at %s:%d.\n"),
+ errexit(_("Permission denied for `%s' at %s:%d.\n"),
"pthread_mutex_unlock",
filename, line);
GNUNET_ASSERT_FL(0, filename, line);
@@ -398,22 +398,22 @@
pt->internal = NULL;
return;
case ESRCH:
- errexit("'%s' failed with error code %s: %s\n",
+ errexit("`%s' failed with error code %s: %s\n",
"pthread_join",
"ESRCH",
STRERROR(errno));
case EINVAL:
- errexit("'%s' failed with error code %s: %s\n",
+ errexit("`%s' failed with error code %s: %s\n",
"pthread_join",
"EINVAL",
STRERROR(errno));
case EDEADLK:
- errexit("'%s' failed with error code %s: %s\n",
+ errexit("`%s' failed with error code %s: %s\n",
"pthread_join",
"EDEADLK",
STRERROR(errno));
default:
- errexit("'%s' failed with error code %d: %s\n",
+ errexit("`%s' failed with error code %d: %s\n",
"pthread_join",
k,
STRERROR(errno));
Modified: GNUnet/src/util/statuscalls.c
===================================================================
--- GNUnet/src/util/statuscalls.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/statuscalls.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -182,7 +182,7 @@
&rxnew,
&txnew)) {
LOG(LOG_ERROR,
- _("Failed to parse interface data from '%s' at %s:%d.\n"),
+ _("Failed to parse interface data from `%s' at %s:%d.\n"),
PROC_NET_DEV,
__FILE__,
__LINE__);
@@ -597,7 +597,7 @@
if ( (interfaces == NULL) ||
(strlen(interfaces) == 0) ) {
LOG(LOG_ERROR,
- _("No network interfaces defined in configuration section '%s' under
'%s'!\n"),
+ _("No network interfaces defined in configuration section `%s' under
`%s'!\n"),
"LOAD",
"INTERFACES");
} else {
Modified: GNUnet/src/util/storage.c
===================================================================
--- GNUnet/src/util/storage.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/storage.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -193,7 +193,7 @@
if(!GetDiskFreeSpace(szDrive, &dwDummy, &dwDummy, &dwBlocks, &dwDummy))
{
LOG(LOG_ERROR,
- _("'%s' failed for drive %s: %u\n"),
+ _("`%s' failed for drive %s: %u\n"),
"GetDiskFreeSpace",
szDrive, GetLastError());
@@ -291,7 +291,7 @@
}
if (!S_ISREG(filestat.st_mode)) {
LOG(LOG_WARNING,
- _("'%s' is not a regular file.\n"),
+ _("`%s' is not a regular file.\n"),
fil);
return 0;
}
@@ -545,7 +545,7 @@
}
if (!S_ISDIR(istat.st_mode)) {
LOG(LOG_ERROR,
- _("'%s' expected '%s' to be a directory!\n"),
+ _("`%s' expected `%s' to be a directory!\n"),
__FUNCTION__,
dirName);
return SYSERR;
@@ -640,7 +640,7 @@
int linenumber) {
if (0 != CLOSE(fd)) {
LOG(LOG_INFO,
- _("'%s' failed at %s:%d with error: %s\n"),
+ _("`%s' failed at %s:%d with error: %s\n"),
"close",
filename,
linenumber, STRERROR(errno));
Modified: GNUnet/src/util/symcipher_gcrypt.c
===================================================================
--- GNUnet/src/util/symcipher_gcrypt.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/symcipher_gcrypt.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -44,14 +44,14 @@
* a failure of the command 'cmd' with the message given
* by gcry_strerror(rc).
*/
-#define LOG_GCRY(level, cmd, rc) do { LOG(level, _("'%s' failed at %s:%d with
error: %s\n"), cmd, __FILE__, __LINE__, gcry_strerror(rc)); } while(0);
+#define LOG_GCRY(level, cmd, rc) do { LOG(level, _("`%s' failed at %s:%d with
error: %s\n"), cmd, __FILE__, __LINE__, gcry_strerror(rc)); } while(0);
/**
* Die with an error message that indicates
* a failure of the command 'cmd' with the message given
* by gcry_strerror(rc).
*/
-#define DIE_GCRY(cmd, rc) do { errexit(_("'%s' failed at %s:%d with error:
%s\n"), cmd, __FILE__, __LINE__, gcry_strerror(rc)); } while(0);
+#define DIE_GCRY(cmd, rc) do { errexit(_("`%s' failed at %s:%d with error:
%s\n"), cmd, __FILE__, __LINE__, gcry_strerror(rc)); } while(0);
/**
Modified: GNUnet/src/util/tcp_return.c
===================================================================
--- GNUnet/src/util/tcp_return.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/tcp_return.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -48,14 +48,14 @@
if (SYSERR == readFromSocket(sock,
(CS_MESSAGE_HEADER **) &rv)) {
LOG(LOG_WARNING,
- _("'%s' failed, other side closed connection.\n"),
+ _("`%s' failed, other side closed connection.\n"),
__FUNCTION__);
return SYSERR;
}
if ( (ntohs(rv->header.size) != sizeof(CS_returnvalue_MESSAGE)) ||
(ntohs(rv->header.type) != CS_PROTO_RETURN_VALUE) ) {
LOG(LOG_WARNING,
- _("'%s' failed, reply invalid!\n"),
+ _("`%s' failed, reply invalid!\n"),
__FUNCTION__);
FREE(rv);
return SYSERR;
Modified: GNUnet/src/util/tcpio.c
===================================================================
--- GNUnet/src/util/tcpio.c 2005-08-18 19:16:39 UTC (rev 1743)
+++ GNUnet/src/util/tcpio.c 2005-08-19 04:09:20 UTC (rev 1744)
@@ -84,7 +84,7 @@
he = GETHOSTBYNAME(hostname);
if (he == NULL) {
LOG(LOG_ERROR,
- _("Could not find IP of host '%s': %s\n"),
+ _("Could not find IP of host `%s': %s\n"),
hostname,
hstrerror(h_errno));
return SYSERR;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1744 - in GNUnet/src: applications/advertising applications/bootstrap_http applications/chat applications/datastore applications/dht/module applications/dht/tools applications/fragmentation applications/fs/ecrs applications/fs/fsui applications/fs/module applications/fs/tools applications/gap applications/getoption applications/identity applications/pingpong applications/rpc applications/session applications/sqstore_mysql applications/sqstore_sqlite applications/stats applications/tbench applications/template applications/testbed applications/topology_default applications/topology_f2f applications/tracekit applications/transport conf include server transports util,
grothoff <=