Push context to module to make logging of the module work.

This commit is contained in:
Klaas Freitag 2013-03-26 10:05:15 +01:00
parent ef7c5c261d
commit 6aec7f4211

View file

@ -349,6 +349,8 @@ retry_vio_init:
ctx->status = CSYNC_STATUS_INIT;
csync_set_module_property(ctx, "csync_context", ctx);
/* initialize random generator */
srand(time(NULL));