View | Details | Raw Unified
Collapse All | Expand All

(-) src/dspam.c (+3 lines)
 Lines 4014-4019    Link Here 
      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));
 Lines 4038-4043    Link Here 
      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));
 Lines 4063-4068    Link Here 
      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));