diff options
Diffstat (limited to 'src/psycstore')
-rw-r--r-- | src/psycstore/plugin_psycstore_postgres.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/psycstore/plugin_psycstore_postgres.c b/src/psycstore/plugin_psycstore_postgres.c index 5bf0ba706..046daf6ea 100644 --- a/src/psycstore/plugin_psycstore_postgres.c +++ b/src/psycstore/plugin_psycstore_postgres.c | |||
@@ -514,16 +514,18 @@ postgres_membership_store (void *cls, | |||
514 | 514 | ||
515 | GNUNET_assert (TRANSACTION_NONE == plugin->transaction); | 515 | GNUNET_assert (TRANSACTION_NONE == plugin->transaction); |
516 | 516 | ||
517 | if (announced_at > INT64_MAX || | 517 | if ( (announced_at > INT64_MAX) || |
518 | effective_since > INT64_MAX || | 518 | (effective_since > INT64_MAX) || |
519 | group_generation > INT64_MAX) | 519 | (group_generation > INT64_MAX) ) |
520 | { | 520 | { |
521 | GNUNET_break (0); | 521 | GNUNET_break (0); |
522 | return GNUNET_SYSERR; | 522 | return GNUNET_SYSERR; |
523 | } | 523 | } |
524 | 524 | ||
525 | if (GNUNET_OK != channel_key_store (plugin, channel_key) | 525 | if ( (GNUNET_OK != |
526 | || GNUNET_OK != slave_key_store (plugin, slave_key)) | 526 | channel_key_store (plugin, channel_key)) || |
527 | (GNUNET_OK != | ||
528 | slave_key_store (plugin, slave_key)) ) | ||
527 | return GNUNET_SYSERR; | 529 | return GNUNET_SYSERR; |
528 | 530 | ||
529 | struct GNUNET_PQ_QueryParam params[] = { | 531 | struct GNUNET_PQ_QueryParam params[] = { |