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
f095c407
...
f095c40739418cd4edfb5b822e4e0c6a83bd0e62
authored
2003-03-26 18:54:17 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(builtin_formataddr): Bugfix.
1 parent
f94f3274
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
mh/mh_format.c
mh/mh_format.c
View file @
f095c40
...
...
@@ -1751,10 +1751,12 @@ builtin_formataddr (struct mh_machine *mach)
}
}
list_append
(
mach
->
addrlist
,
addr
);
address_to_string
(
dest
,
NULL
,
0
,
&
size
);
strobj_realloc
(
&
mach
->
reg_str
,
size
+
1
);
address_to_string
(
dest
,
strobj_ptr
(
&
mach
->
reg_str
),
size
+
1
,
NULL
);
address_destroy
(
&
dest
);
if
(
address_to_string
(
dest
,
NULL
,
0
,
&
size
)
==
0
)
{
strobj_realloc
(
&
mach
->
reg_str
,
size
+
1
);
address_to_string
(
dest
,
strobj_ptr
(
&
mach
->
reg_str
),
size
+
1
,
NULL
);
address_destroy
(
&
dest
);
}
}
/* putaddr literal print str address list with
...
...
Please
register
or
sign in
to post a comment