-
- /*
- * Also make sure it has a netconfig file, so the networker runs
- * on this room even if we don't share it with any other nodes.
- * This allows the CANCEL messages (i.e. "Purge this vCard") to be
- * purged.
- *
- * FIXME this no longer works
- *
- */
- //assoc_file_name(filename, sizeof filename, &qr, ctdl_netcfg_dir);
- //fp = fopen(filename, "a");
- //if (fp != NULL) {
- //fclose(fp);
- //rv = chown(filename, CTDLUID, (-1));
- //if (rv == -1) {
- //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: %m", filename);
- //}
- //}
- //else {
- //syslog(LOG_ERR, "vcard: cannot create %s: %m", filename);
- //}