~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 403.

  • Committer: Scott James Remnant
  • Date: 2007-02-03 23:41:33 UTC
  • Revision ID: scott@netsplit.com-20070203234133-voo55rjkojkzmh0p
* init/control.c (control_open_sock, control_reopen)
(control_close_handler): Drop these functions; unconnected datagram
sockets don't close -- so why try dealing with it?
(control_error_handler): Don't reopen the socket on error, just log
it -- the socket should be fine, there's no remote end to be lost,
after all.
* init/tests/test_control.c (test_close_handler): Drop.
(test_error_handler): Drop the reopen tests.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: