diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-15 16:01:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-15 16:01:27 +0000 |
commit | 9e3c0c39c0757598bb988b3abf488c9d0686d2a1 (patch) | |
tree | 9b5bdde1242d3a9ecedd1a6aeb6e618cb62f6caa /src/fs/fs_api.c | |
parent | 82dad580ad5ba8d2ec44a3a94f5acff01a70489d (diff) | |
download | gnunet-9e3c0c39c0757598bb988b3abf488c9d0686d2a1.tar.gz gnunet-9e3c0c39c0757598bb988b3abf488c9d0686d2a1.zip |
-fix check of return value
Diffstat (limited to 'src/fs/fs_api.c')
-rw-r--r-- | src/fs/fs_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/fs_api.c b/src/fs/fs_api.c index d61ef0016..1efda5a82 100644 --- a/src/fs/fs_api.c +++ b/src/fs/fs_api.c | |||
@@ -1634,9 +1634,9 @@ GNUNET_FS_publish_sync_ (struct GNUNET_FS_PublishContext *pc) | |||
1634 | GNUNET_BIO_write_string (wh, | 1634 | GNUNET_BIO_write_string (wh, |
1635 | (NULL == pc->fi_pos) ? NULL : pc->fi_pos->serialization)) || | 1635 | (NULL == pc->fi_pos) ? NULL : pc->fi_pos->serialization)) || |
1636 | ( (NULL != pc->ns) && | 1636 | ( (NULL != pc->ns) && |
1637 | GNUNET_BIO_write (wh, | 1637 | (GNUNET_OK != GNUNET_BIO_write (wh, |
1638 | pc->ns, | 1638 | pc->ns, |
1639 | sizeof (struct GNUNET_CRYPTO_EccPrivateKey)) ) ) | 1639 | sizeof (struct GNUNET_CRYPTO_EccPrivateKey)) ) )) |
1640 | { | 1640 | { |
1641 | GNUNET_break (0); | 1641 | GNUNET_break (0); |
1642 | goto cleanup; | 1642 | goto cleanup; |