Code cleanup

Signed-off-by: Andras Mitzki <micek@balabit.hu>