[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-gtk] branch master updated: -fix another API breakage issue'
From: |
gnunet |
Subject: |
[gnunet-gtk] branch master updated: -fix another API breakage issue' |
Date: |
Thu, 07 Dec 2023 14:40:55 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet-gtk.
The following commit(s) were added to refs/heads/master by this push:
new 392da7ad -fix another API breakage issue'
392da7ad is described below
commit 392da7adb4731f83da4644264d868cec1aab62bf
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Thu Dec 7 22:40:47 2023 +0900
-fix another API breakage issue'
---
src/fs/gnunet-fs-gtk_main-window-search.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/fs/gnunet-fs-gtk_main-window-search.c
b/src/fs/gnunet-fs-gtk_main-window-search.c
index 86e859f0..78867b05 100644
--- a/src/fs/gnunet-fs-gtk_main-window-search.c
+++ b/src/fs/gnunet-fs-gtk_main-window-search.c
@@ -394,7 +394,9 @@ save_pseudonym_with_nick (struct PseuLookupContext *lctx,
const char *nick)
{
struct GNUNET_GNSRECORD_Data rd;
struct GNUNET_GTK_MainWindowContext *main_ctx;
-
+ struct GNUNET_NAMESTORE_RecordInfo ri;
+ unsigned int ret;
+
GNUNET_break (NULL == lctx->nick);
lctx->nick = GNUNET_strdup (nick);
/* again, show progress indicator, this should be fast though... */
@@ -415,13 +417,16 @@ save_pseudonym_with_nick (struct PseuLookupContext *lctx,
const char *nick)
main_ctx = GNUNET_FS_GTK_get_main_context ();
lctx->namestore = GNUNET_NAMESTORE_connect (main_ctx->cfg);
GNUNET_assert (NULL != lctx->namestore);
+ ri.a_label = nick;
+ ri.a_rd_count = 1;
+ ri.a_rd = &rd;
lctx->qe =
GNUNET_NAMESTORE_records_store (lctx->namestore,
GNUNET_IDENTITY_ego_get_private_key (
main_ctx->sks_zone),
- nick,
1,
- &rd,
+ &ri,
+ &ret,
&store_continuation,
lctx);
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet-gtk] branch master updated: -fix another API breakage issue',
gnunet <=