~ubuntu-branches/debian/sid/smstools/sid

« back to all changes in this revision

Viewing changes to src/blacklist.c

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Schoenfeld
  • Date: 2009-12-04 15:05:03 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20091204150503-akc7iesz3ewnldqm
Tags: 3.1.6-1
* New upstream version
  (Closes: #494274)
* Remove patch to fix modem timeouts; upstream includes changes that
  obsolete it
* Switch to debhelper 7 and minimize the rules file
* Add a file debian/manpage for manpage installation
* Add a debian/install file for files which need to be installed
* Add an ignore.d.server file for logcheck (Closes: #516158)
* [INTL:ja] Add Japanese po-debconf template translation
  (ja.po); thanks to Hideki Yamane
  (Closes: #558073)
* Change my email address at some places
* Make ucf call on purge conditional, so that purge does not fail if
  ucf is not installed.
* Fix pathname of smsd configuration in ucf call (its smsd.conf not
  smstools.conf)
* Remove the last changed header from smsd.conf because its annoying
  on every upgrade
* Fix a bug in the init script, that would cause the daemon to not
  properly run, if /var/run/smstools does not exist, because it
  wouldn't respect its user settings anymore.
* Make sure a symlink from /var/log/smsd.log to /var/log/smstools/smsd.log
  is created on upgrades, if /var/log/smsd.log exists.
* Change the logfile path in the default configuration to
  /var/log/smstools/smsd.log

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
SMS Server Tools 3
3
 
Copyright (C) Keijo Kasvi
 
3
Copyright (C) 2006- Keijo Kasvi
4
4
http://smstools3.kekekasvi.com/
5
5
 
6
6
Based on SMS Server Tools 2 from Stefan Frings
59
59
    }  
60
60
    else
61
61
    {
62
 
      writelogfile0(LOG_CRIT,"smsd", tb_sprintf("Stopping. Cannot read blacklist file %s.", blacklist));
63
 
      alarm_handler0(LOG_CRIT,"smsd", tb);
64
 
      //remove_pid(pidfile);
65
 
      //signal(SIGTERM,SIG_IGN);
66
 
      //kill(0,SIGTERM);
67
 
      //exit(127);
 
62
      writelogfile0(LOG_CRIT, 0, tb_sprintf("Stopping. Cannot read blacklist file %s.", blacklist));
 
63
      alarm_handler0(LOG_CRIT, tb);
68
64
      abnormal_termination(1);
69
65
    }
70
66
  }