/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-ctl

  • Committer: Teddy Hogeborn
  • Date: 2012-05-24 18:45:45 UTC
  • Revision ID: teddy@recompile.se-20120524184545-68ijg4bprz30r0u8
* plugins.d/mandos-client.c (start_mandos_communication): Eliminate
  warning by first casting to "intptr_t"; this is how GnuTLS's own
  Guile function "set-session-transport-fd!" is implemented.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
from __future__ import (division, absolute_import, print_function,
27
27
                        unicode_literals)
28
28
 
 
29
from future_builtins import *
 
30
 
29
31
import sys
30
32
import dbus
31
33
import argparse
61
63
server_path = "/"
62
64
server_interface = domain + ".Mandos"
63
65
client_interface = domain + ".Mandos.Client"
64
 
version = "1.5.3"
 
66
version = "1.5.4"
65
67
 
66
68
def timedelta_to_milliseconds(td):
67
69
    """Convert a datetime.timedelta object to milliseconds"""