[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r28105 - gnunet/src/identity
From: |
gnunet |
Subject: |
[GNUnet-SVN] r28105 - gnunet/src/identity |
Date: |
Wed, 17 Jul 2013 11:41:22 +0200 |
Author: grothoff
Date: 2013-07-17 11:41:22 +0200 (Wed, 17 Jul 2013)
New Revision: 28105
Modified:
gnunet/src/identity/identity_api.c
Log:
-fix uninitialized fields
Modified: gnunet/src/identity/identity_api.c
===================================================================
--- gnunet/src/identity/identity_api.c 2013-07-17 09:25:01 UTC (rev 28104)
+++ gnunet/src/identity/identity_api.c 2013-07-17 09:41:22 UTC (rev 28105)
@@ -616,6 +616,7 @@
op = GNUNET_malloc (sizeof (struct GNUNET_IDENTITY_Operation) +
sizeof (struct GNUNET_IDENTITY_GetDefaultMessage) +
slen);
+ op->h = id;
op->cb = cb;
op->cls = cb_cls;
gdm = (struct GNUNET_IDENTITY_GetDefaultMessage *) &op[1];
@@ -672,6 +673,7 @@
op = GNUNET_malloc (sizeof (struct GNUNET_IDENTITY_Operation) +
sizeof (struct GNUNET_IDENTITY_SetDefaultMessage) +
enc_len + slen);
+ op->h = id;
op->cont = cont;
op->cls = cont_cls;
sdm = (struct GNUNET_IDENTITY_SetDefaultMessage *) &op[1];
@@ -731,6 +733,7 @@
op = GNUNET_malloc (sizeof (struct GNUNET_IDENTITY_Operation) +
sizeof (struct GNUNET_IDENTITY_CreateRequestMessage) +
enc_len + slen);
+ op->h = id;
op->cb = cb;
op->cls = cb_cls;
crm = (struct GNUNET_IDENTITY_CreateRequestMessage *) &op[1];
@@ -787,6 +790,7 @@
op = GNUNET_malloc (sizeof (struct GNUNET_IDENTITY_Operation) +
sizeof (struct GNUNET_IDENTITY_RenameMessage) +
slen_old + slen_new);
+ op->h = id;
op->cont = cb;
op->cls = cb_cls;
grm = (struct GNUNET_IDENTITY_RenameMessage *) &op[1];
@@ -836,6 +840,7 @@
op = GNUNET_malloc (sizeof (struct GNUNET_IDENTITY_Operation) +
sizeof (struct GNUNET_IDENTITY_DeleteMessage) +
slen);
+ op->h = id;
op->cont = cb;
op->cls = cb_cls;
gdm = (struct GNUNET_IDENTITY_DeleteMessage *) &op[1];
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r28105 - gnunet/src/identity,
gnunet <=