Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
fc577d5c
...
fc577d5c027331fd35b3a966286b59a0cba9c393
authored
2004-06-27 15:04:09 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(_memory_write): Minor fix
1 parent
0f034b80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
mailbox/memory_stream.c
mailbox/memory_stream.c
View file @
fc577d5
...
...
@@ -103,7 +103,7 @@ _memory_write (stream_t stream, const char *iptr, size_t isize,
if
(
mfs
->
capacity
<
((
size_t
)
offset
+
isize
))
{
/* Realloc by fixed blocks of 128. */
in
t
newsize
=
MU_STREAM_MEMORY_BLOCKSIZE
*
size_
t
newsize
=
MU_STREAM_MEMORY_BLOCKSIZE
*
(((
offset
+
isize
)
/
MU_STREAM_MEMORY_BLOCKSIZE
)
+
1
);
char
*
tmp
=
realloc
(
mfs
->
ptr
,
newsize
);
if
(
tmp
==
NULL
)
...
...
Please
register
or
sign in
to post a comment