projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unnecessary casts
[mmh]
/
sbr
/
addrsbr.c
diff --git
a/sbr/addrsbr.c
b/sbr/addrsbr.c
index
96fa72f
..
dc3924b
100644
(file)
--- a/
sbr/addrsbr.c
+++ b/
sbr/addrsbr.c
@@
-104,7
+104,7
@@
getm(char *str, char *dfhost, int dftype, int wanthost, char *eresult)
dftype = LOCALHOST;
}
dftype = LOCALHOST;
}
- mp = (struct mailname *) mh_xcalloc((size_t) 1, sizeof(*mp));
+ mp = mh_xcalloc(1, sizeof(*mp));
if (mp == NULL) {
if (eresult)
strcpy(eresult, "insufficient memory to represent address");
if (mp == NULL) {
if (eresult)
strcpy(eresult, "insufficient memory to represent address");