This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
st
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Add newline in error messages
--- st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
master
Roberto E. Vargas Caballero
12 years ago
parent
e3671006db
commit
111199cf22
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
st.c
+ 2
- 2
st.c
View File
@ -363,14 +363,14 @@ void *
xmalloc
(
size_t
len
)
{
void
*
p
=
malloc
(
len
)
;
if
(
!
p
)
die
(
"
Out of memory
"
)
;
die
(
"
Out of memory
\n
"
)
;
return
p
;
}
void
*
xrealloc
(
void
*
p
,
size_t
len
)
{
if
(
(
p
=
realloc
(
p
,
len
)
)
=
=
NULL
)
die
(
"
Out of memory
"
)
;
die
(
"
Out of memory
\n
"
)
;
return
p
;
}
Write
Preview
Loading…
Cancel
Save