|
|
LOGDEBUG("sending firstrun.txt to %s (%s): %s", | LOGDEBUG("sending firstrun.txt to %s (%s): %s", |
CTX->username, filename, strerror(errno)); | CTX->username, filename, strerror(errno)); |
send_notice(ATX, "firstrun.txt", ATX->mailer_args, CTX->username); | send_notice(ATX, "firstrun.txt", ATX->mailer_args, CTX->username); |
|
_ds_prepare_path_for(filename); |
file = fopen(filename, "w"); | file = fopen(filename, "w"); |
if (file) { | if (file) { |
fprintf(file, "%ld\n", (long) time(NULL)); | fprintf(file, "%ld\n", (long) time(NULL)); |
|
|
LOGDEBUG("sending firstspam.txt to %s (%s): %s", | LOGDEBUG("sending firstspam.txt to %s (%s): %s", |
CTX->username, filename, strerror(errno)); | CTX->username, filename, strerror(errno)); |
send_notice(ATX, "firstspam.txt", ATX->mailer_args, CTX->username); | send_notice(ATX, "firstspam.txt", ATX->mailer_args, CTX->username); |
|
_ds_prepare_path_for(filename); |
file = fopen(filename, "w"); | file = fopen(filename, "w"); |
if (file) { | if (file) { |
fprintf(file, "%ld\n", (long) time(NULL)); | fprintf(file, "%ld\n", (long) time(NULL)); |
|
|
if (stat(qfile, &s)) { | if (stat(qfile, &s)) { |
FILE *f; | FILE *f; |
| |
|
_ds_prepare_path_for(qfile); |
f = fopen(qfile, "w"); | f = fopen(qfile, "w"); |
if (f != NULL) { | if (f != NULL) { |
fprintf(f, "%ld", (long) time(NULL)); | fprintf(f, "%ld", (long) time(NULL)); |