gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r8616 - GNUnet/src/applications/dhtlog_mysql


From: gnunet
Subject: [GNUnet-SVN] r8616 - GNUnet/src/applications/dhtlog_mysql
Date: Wed, 1 Jul 2009 15:03:47 -0600

Author: nevans
Date: 2009-07-01 15:03:46 -0600 (Wed, 01 Jul 2009)
New Revision: 8616

Modified:
   GNUnet/src/applications/dhtlog_mysql/dhtlog_mysql.c
Log:


Modified: GNUnet/src/applications/dhtlog_mysql/dhtlog_mysql.c
===================================================================
--- GNUnet/src/applications/dhtlog_mysql/dhtlog_mysql.c 2009-07-01 20:57:03 UTC 
(rev 8615)
+++ GNUnet/src/applications/dhtlog_mysql/dhtlog_mysql.c 2009-07-01 21:03:46 UTC 
(rev 8616)
@@ -375,14 +375,14 @@
 add_node (unsigned long long *nodeuid, GNUNET_PeerIdentity * node)
 {
   GNUNET_EncName encPeer;
-  unsigned long long p_len;
+  unsigned long p_len;
   int ret;
 
   if (node == NULL)
     return GNUNET_SYSERR;
 
   GNUNET_hash_to_enc (&node->hashPubKey, &encPeer);
-  p_len = strlen ((char *) &encPeer);
+  p_len = (unsigned long)strlen ((char *) &encPeer);
   if (GNUNET_OK !=
       (ret = GNUNET_MYSQL_prepared_statement_run (insert_node,
                                                   nodeuid,
@@ -664,10 +664,6 @@
                  ("pertinent mysql information: host %s, user %s, port %llu, 
pass %s, DB %s\n"),
                  mysql_server, mysql_user, mysql_port, mysql_password,
                  mysql_db);
-  fprintf(stderr, _
-                 ("pertinent mysql information: host %s, user %s, port %llu, 
pass %s, DB %s\n"),
-                 mysql_server, mysql_user, mysql_port, mysql_password,
-                 mysql_db);
 #endif
   if (iopen () != GNUNET_OK)
     {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]