diff options
Diffstat (limited to 'examples/example-decode.c')
| -rw-r--r-- | examples/example-decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example-decode.c b/examples/example-decode.c index e16631c..ebfb19a 100644 --- a/examples/example-decode.c +++ b/examples/example-decode.c | |||
| @@ -87,7 +87,7 @@ main( | |||
| 87 | 87 | ||
| 88 | for(i = 1; (i < argc); i++) | 88 | for(i = 1; (i < argc); i++) |
| 89 | { | 89 | { |
| 90 | if ((rc = bindle_encoding_verify(BNDL_BASE32, argv[i], strlen(argv[i]))) == -1) | 90 | if (bindle_encoding_verify(BNDL_BASE32, argv[i], strlen(argv[i])) == -1) |
| 91 | { | 91 | { |
| 92 | fprintf(stderr, "bindle_encoding_verify(): %s\n", strerror(errno)); | 92 | fprintf(stderr, "bindle_encoding_verify(): %s\n", strerror(errno)); |
| 93 | return(1); | 93 | return(1); |
| @@ -102,7 +102,7 @@ main( | |||
| 102 | fprintf(stderr, "error: buffer is too small for decoded string\n"); | 102 | fprintf(stderr, "error: buffer is too small for decoded string\n"); |
| 103 | return(1); | 103 | return(1); |
| 104 | }; | 104 | }; |
| 105 | if ((rc = bindle_decode(BNDL_BASE32, buff, sizeof(buff), argv[i], strlen(argv[i]))) == -1) | 105 | if (bindle_decode(BNDL_BASE32, buff, sizeof(buff), argv[i], strlen(argv[i])) == -1) |
| 106 | { | 106 | { |
| 107 | fprintf(stderr, "bindle_decode(): %s\n", strerror(errno)); | 107 | fprintf(stderr, "bindle_decode(): %s\n", strerror(errno)); |
| 108 | return(1); | 108 | return(1); |
