projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38ac87a
)
Fix base64 encoder.
author
Marcello Stanisci
<stanisci.m@gmail.com>
Thu, 25 Oct 2018 16:13:41 +0000
(18:13 +0200)
committer
Marcello Stanisci
<stanisci.m@gmail.com>
Thu, 25 Oct 2018 16:13:41 +0000
(18:13 +0200)
Eliminating the appending of a '=' symbol in the
last position of the output string.
src/util/strings.c
patch
|
blob
|
history
diff --git
a/src/util/strings.c
b/src/util/strings.c
index e3bdadd39be4756d198db599a8bfa68c2f9ed920..b7a7fcb8b245b014df0b43445ed2993eb10a44bc 100644
(file)
--- a/
src/util/strings.c
+++ b/
src/util/strings.c
@@
-1998,7
+1998,6
@@
GNUNET_STRINGS_base64_encode (const void *in,
opt[ret++] = FILLCHAR;
}
}
- opt[ret++] = FILLCHAR;
*output = opt;
return ret;
}