diff options
Diffstat (limited to 'src/escrow/gnunet-escrow.c')
-rw-r--r-- | src/escrow/gnunet-escrow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/escrow/gnunet-escrow.c b/src/escrow/gnunet-escrow.c index 9f71fad32..2d6d4d141 100644 --- a/src/escrow/gnunet-escrow.c +++ b/src/escrow/gnunet-escrow.c | |||
@@ -458,11 +458,11 @@ run (void *cls, | |||
458 | } | 458 | } |
459 | 459 | ||
460 | /* determine method */ | 460 | /* determine method */ |
461 | if (!strncmp (plaintext_string, method_name, strlen (plaintext_string))) | 461 | if (!strcmp (plaintext_string, method_name)) |
462 | method = GNUNET_ESCROW_KEY_PLAINTEXT; | 462 | method = GNUNET_ESCROW_KEY_PLAINTEXT; |
463 | else if (!strncmp (gns_string, method_name, strlen (gns_string))) | 463 | else if (!strcmp (gns_string, method_name)) |
464 | method = GNUNET_ESCROW_KEY_GNS; | 464 | method = GNUNET_ESCROW_KEY_GNS; |
465 | else if (!strncmp (anastasis_string, method_name, strlen (anastasis_string))) | 465 | else if (!strcmp (anastasis_string, method_name)) |
466 | method = GNUNET_ESCROW_KEY_ANASTASIS; | 466 | method = GNUNET_ESCROW_KEY_ANASTASIS; |
467 | else | 467 | else |
468 | { | 468 | { |