git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hurd: errno really uses more than a short-sized value. Bug 2476
[exim.git]
/
src
/
exim_monitor
/
em_xs.c
diff --git
a/src/exim_monitor/em_xs.c
b/src/exim_monitor/em_xs.c
index b145fb993f62e4990ceeb67a66912ce25e84d332..ee91f7c159c06ff85e4754c6f6670fbc98e92590 100644
(file)
--- a/
src/exim_monitor/em_xs.c
+++ b/
src/exim_monitor/em_xs.c
@@
-30,7
+30,7
@@
void xs_SetValues(Widget w, Cardinal num_args, ...)
{
int i;
va_list ap;
{
int i;
va_list ap;
-Arg *aa = (num_args > 15)?
(Arg *)
malloc(num_args*sizeof(Arg)) : xs_temparg;
+Arg *aa = (num_args > 15)?
store_
malloc(num_args*sizeof(Arg)) : xs_temparg;
va_start(ap, num_args);
for (i = 0; i < num_args; i++)
{
va_start(ap, num_args);
for (i = 0; i < num_args; i++)
{
@@
-39,7
+39,7
@@
for (i = 0; i < num_args; i++)
}
va_end(ap);
XtSetValues(w, aa, num_args);
}
va_end(ap);
XtSetValues(w, aa, num_args);
-if (num_args > 15) free(aa);
+if (num_args > 15)
store_
free(aa);
}
/* End of em_xs.c */
}
/* End of em_xs.c */