From fce3de9b2ac2185b372808c1a129148b4edf1443 Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Thu, 5 Nov 2015 17:34:48 +0100 Subject: [PATCH] - small code change --- src/goose/goose_receiver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/goose/goose_receiver.c b/src/goose/goose_receiver.c index 960073a3..5174f6b7 100644 --- a/src/goose/goose_receiver.c +++ b/src/goose/goose_receiver.c @@ -1,7 +1,7 @@ /* * goose_receiver.c * - * Copyright 2014 Michael Zillgith + * Copyright 2014, 2015 Michael Zillgith * * This file is part of libIEC61850. * @@ -650,7 +650,7 @@ parseGooseMessage(GooseReceiver self, int numbytes) int apduLength = length - 8; if (numbytes < length + headerLength) { - if (DEBUG) + if (DEBUG_GOOSE_SUBSCRIBER) printf("GOOSE_SUBSCRIBER: Invalid PDU size\n"); return; }