Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wim Lewis
nettle
Commits
b4142547
Commit
b4142547
authored
Dec 04, 2002
by
Niels Möller
Browse files
(nettle_buffer_grow): Fixed assertion.
Rev: src/nettle/buffer.c:1.4
parent
9d1b3eed
Changes
1
Hide whitespace changes
Inline
Side-by-side
buffer.c
View file @
b4142547
...
...
@@ -33,7 +33,7 @@ int
nettle_buffer_grow
(
struct
nettle_buffer
*
buffer
,
unsigned
length
)
{
assert
(
buffer
->
size
<=
buffer
->
re
alloc
);
assert
(
buffer
->
size
<=
buffer
->
alloc
);
if
(
buffer
->
size
+
length
>
buffer
->
alloc
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment