projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4722503
)
do not strictly require mq non-NULL, as peerinfo service might have died already
author
Christian Grothoff
<christian@grothoff.org>
Tue, 19 Feb 2019 00:57:19 +0000
(
01:57
+0100)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 19 Feb 2019 00:57:19 +0000
(
01:57
+0100)
src/peerinfo/peerinfo_api.c
patch
|
blob
|
history
diff --git
a/src/peerinfo/peerinfo_api.c
b/src/peerinfo/peerinfo_api.c
index f2af27c0bf198de77b6bb8c2bc635c12cc20cd74..4b56b34c79d4777f3c3814e377277a54f47650aa 100644
(file)
--- a/
src/peerinfo/peerinfo_api.c
+++ b/
src/peerinfo/peerinfo_api.c
@@
-11,7
+11,7
@@
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
@@
-565,10
+565,7
@@
GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h,
struct GNUNET_PeerIdentity peer;
if (NULL == h->mq)
- {
- GNUNET_break (0);
return NULL;
- }
GNUNET_assert (GNUNET_OK ==
GNUNET_HELLO_get_id (hello,
&peer));