104 |
int errno_save = errno; |
int errno_save = errno; |
105 |
|
|
106 |
if (errno != ENOENT) |
if (errno != ENOENT) |
107 |
ilog(LOG_TYPE_IRCD, "Can't read database file %s", f->filename); |
ilog(LOG_TYPE_IRCD, "Cannot read database file %s", f->filename); |
108 |
|
|
109 |
MyFree(f); |
MyFree(f); |
110 |
errno = errno_save; |
errno = errno_save; |
156 |
|
|
157 |
if (!walloped++) |
if (!walloped++) |
158 |
sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, |
sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE, |
159 |
"Can't create temporary database file %s", |
"Cannot create temporary database file %s", |
160 |
f->tempname); |
f->tempname); |
161 |
|
|
162 |
errno = errno_save; |
errno = errno_save; |
163 |
ilog(LOG_TYPE_IRCD, "Can't create temporary database file %s", |
ilog(LOG_TYPE_IRCD, "Cannot create temporary database file %s", |
164 |
f->tempname); |
f->tempname); |
165 |
|
|
166 |
if (f->fp) |
if (f->fp) |