From 784867fb151c5587acd988dfb0f6659088abd2fc Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 19 Nov 2009 09:24:25 +0000 Subject: [PATCH] return code git-svn-id: https://ttuki.vtt.fi/svn/p2p-next/TUD/p2tp/trunk@592 e16421f0-f15b-0410-abcd-98678b794739 --- exec/trial.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/exec/trial.cpp b/exec/trial.cpp index 3c7eb80..aac40cb 100644 --- a/exec/trial.cpp +++ b/exec/trial.cpp @@ -51,8 +51,11 @@ int main (int argn, char** args) { Datagram::dgrams_up, Datagram::bytes_up, Datagram::dgrams_down, Datagram::bytes_down ); } + int ret = !p2tp::IsComplete(file); p2tp::Close(file); p2tp::Shutdown(); + return ret; + } -- 2.20.1