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
> [email protected]
> http://lists.gnu.org/mailman/listinfo/gnunet-developers
_______________________________________________
GNUnet-developers mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnunet-developers