forked from github/server
nochmal der gleiche fehler, i_free ist zu pingelig :-)
This commit is contained in:
parent
4855b6de4a
commit
f685f770f0
|
@ -867,9 +867,7 @@ cr_output_unit(FILE * F, const region * r,
|
|||
if (show!=u->items) {
|
||||
/* free the temporary items */
|
||||
while (show) {
|
||||
item * ishow = show;
|
||||
show = show->next;
|
||||
i_free(ishow);
|
||||
i_free(i_remove(&show, show));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2832,7 +2832,7 @@ reports(void)
|
|||
if (f->no != MONSTER_FACTION) {
|
||||
int error = write_reports(f, ltime);
|
||||
if (error) retval = error;
|
||||
if (!nosh && f->email && BAT) {
|
||||
if (f->email && BAT) {
|
||||
sprintf(buf, "%s/%s.sh", reportpath(), factionid(f));
|
||||
shfp = fopen(buf, "w");
|
||||
fprintf(shfp,"#!/bin/sh\n\nPATH=%s\n\n",MailitPath());
|
||||
|
|
Loading…
Reference in New Issue