gnunet-developers
[Top][All Lists]
Advanced

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

Re: [GNUnet-developers] little bug in mysql.c


From: Christian Grothoff
Subject: Re: [GNUnet-developers] little bug in mysql.c
Date: Sun, 10 Dec 2006 20:13:43 -0700
User-agent: KMail/1.9.5

Thanks, fixed (SVN 3914).

Christian

On Sunday 10 December 2006 19:12, Jean Michault wrote:
> Each timme i restart gnunetd, gnunet-stats gives me :
> # bytes in datastore
>
> :                0
>
> I found that it comes from a little bug at line 1364 in mysql.c :
>
> Index: src/applications/sqstore_mysql/mysql.c
> ===================================================================
> --- src/applications/sqstore_mysql/mysql.c      (révision 3913)
> +++ src/applications/sqstore_mysql/mysql.c      (copie de travail)
> @@ -1364,7 +1364,7 @@
>                 dbh);
>        content_size = 0;
>      } else {
> -      SSCANF(sql_row[1], "%llu", &content_size);
> +      SSCANF(sql_row[0], "%llu", &content_size);
>      }
>      if (sql_res != NULL)
>        mysql_free_result(sql_res);
>
>
>
> Jean Michault
>
>
> _______________________________________________
> GNUnet-developers mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnunet-developers




reply via email to

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