return code
authorvictor <victor@e16421f0-f15b-0410-abcd-98678b794739>
Thu, 19 Nov 2009 09:24:25 +0000 (09:24 +0000)
committervictor <victor@e16421f0-f15b-0410-abcd-98678b794739>
Thu, 19 Nov 2009 09:24:25 +0000 (09:24 +0000)
git-svn-id: https://ttuki.vtt.fi/svn/p2p-next/TUD/p2tp/trunk@592 e16421f0-f15b-0410-abcd-98678b794739

exec/trial.cpp

index 3c7eb80..aac40cb 100644 (file)
@@ -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;
+
 }