diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-05 22:19:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-05 22:19:11 +0000 |
commit | 9fdedf1583af6493b9a6b073184f2a4cb31fe0f3 (patch) | |
tree | ddc6259adffb343d61022ff8822cb4c8cc64bc21 /src/psyc | |
parent | 3a6627cad934d7ed96e2b96eda7dc3a490c9a1ec (diff) |
-adding missing break statements
Diffstat (limited to 'src/psyc')
-rw-r--r-- | src/psyc/psyc_api.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/psyc/psyc_api.c b/src/psyc/psyc_api.c index f971de1b81..290f3e375a 100644 --- a/src/psyc/psyc_api.c +++ b/src/psyc/psyc_api.c @@ -347,10 +347,16 @@ message_handler (void *cls, break; case GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_METHOD: size_min = sizeof (struct GNUNET_PSYC_MessageMethod); + break; case GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_MODIFIER: size_min = sizeof (struct GNUNET_PSYC_MessageModifier); + break; case GNUNET_MESSAGE_TYPE_PSYC_MESSAGE_DATA: size_min = sizeof (struct GNUNET_PSYC_MessageData); + break; + default: + GNUNET_break_op (0); + return; } if (! ((0 < size_eq && size == size_eq) |