libfast: Fixed compiler warning.
authorTobias Brunner <tobias@strongswan.org>
Fri, 25 Nov 2011 09:22:41 +0000 (10:22 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 25 Nov 2011 09:22:41 +0000 (10:22 +0100)
src/libfast/dispatcher.c

index 8cfad0f..e5fca70 100644 (file)
@@ -183,8 +183,8 @@ static session_entry_t *session_entry_create(private_dispatcher_t *this,
        INIT(entry,
                .cond = condvar_create(CONDVAR_TYPE_DEFAULT),
                .session = load_session(this),
-               .used = time_monotonic(NULL),
                .host = strdup(host),
+               .used = time_monotonic(NULL),
        );
        return entry;
 }