[cgmanager-devel] [cgmanager/cgmanager] 544c30: Fix startup-crasher and simplify timeout handling.

GitHub noreply at github.com
Wed Apr 16 16:53:24 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/cgmanager/cgmanager
  Commit: 544c30c8df3cd96c317158e9d78534700c50f7cd
      https://github.com/cgmanager/cgmanager/commit/544c30c8df3cd96c317158e9d78534700c50f7cd
  Author: James Hunt <james.hunt at ubuntu.com>
  Date:   2014-04-16 (Wed, 16 Apr 2014)

  Changed paths:
    M cgmanager-proxy.c
    M frontend.c

  Log Message:
  -----------
  Fix startup-crasher and simplify timeout handling.

* cgmanager-proxy.c:
  - setup_proxy(): Adding missing return -1.
  - main(): Ensure setup is complete before accepting connections
    (crasher).
* frontend.c:
  - timer_cmp_fn(): Return whole range of expected values.
  - timeout_remove(): Simplify.
  - timeout_reset(): Simplify.
  - timeout_add(): Use nih_alloc_set_destructor() for simplicity.

Signed-off-by: James Hunt <james.hunt at ubuntu.com>
Acked-by: Serge Hallyn <serge.hallyn at ubuntu.com>




More information about the cgmanager-devel mailing list