* This module handles shared rooms, inter-Citadel mail, and outbound
* mailing list processing.
*
- * Copyright (c) 2000-2016 by the citadel.org team
+ * Copyright (c) 2000-2017 by the citadel.org team
*
* This program is open source software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 3.
fclose(fp);
}
else {
- syslog(LOG_ERR, "%s: %s\n", filename, strerror(errno));
+ syslog(LOG_ERR, "%s: %m", filename);
}
/* free the serialized version */
CCC->openid_data = oiddata = malloc(sizeof(ctdl_openid));
if (oiddata == NULL) {
- syslog(LOG_ERR, "openid: malloc() failed: %s", strerror(errno));
+ syslog(LOG_ERR, "openid: malloc() failed: %m");
cprintf("%d malloc failed\n", ERROR + INTERNAL_ERROR);
return;
}
//fclose(fp);
//rv = chown(filename, CTDLUID, (-1));
//if (rv == -1) {
- //syslog(LOG_ERR, "vcard: failed to adjust ownership of %s: %s", filename, strerror(errno));
+ //syslog(LOG_ERR, "vcard: failed to adjust ownership of %s: %m", filename);
//}
//rv = chmod(filename, 0600);
//if (rv == -1) {
- //syslog(LOG_ERR, "vcard: failed to adjust ownership of %s: %s", filename, strerror(errno));
+ //syslog(LOG_ERR, "vcard: failed to adjust ownership of %s: %m", filename);
//}
//}
//else {
- //syslog(LOG_ERR, "vcard: cannot create %s: %s", filename, strerror(errno));
+ //syslog(LOG_ERR, "vcard: cannot create %s: %m", filename);
//}
}
/*
* Server-side module for Wiki rooms. This handles things like version control.
*
- * Copyright (c) 2009-2015 by the citadel.org team
+ * Copyright (c) 2009-2017 by the citadel.org team
*
* This program is open source software. You can redistribute it and/or
* modify it under the terms of the GNU General Public License, version 3.
fclose(fp);
}
else {
- syslog(LOG_ALERT, "Cannot open %s: %s\n", temp, strerror(errno));
+ syslog(LOG_ERR, "%s: %m", temp);
}
CM_Free(msg);