From: Thomas Jarosch Date: Mon, 4 May 2009 18:51:55 +0000 (+0200) Subject: Fix result test of example application X-Git-Tag: v0.16rc2~1 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=784b29353073a8cf9fa420876bf4bded7d56b080 Fix result test of example application --- diff --git a/examples/find_all_pp.cpp b/examples/find_all_pp.cpp index 98e5133..cf1675b 100644 --- a/examples/find_all_pp.cpp +++ b/examples/find_all_pp.cpp @@ -54,7 +54,7 @@ int main(int argc, char **argv) << it->serial(); // Open test - if(it->open()) + if(it->open() == 0) std::cout << " (Open OK)"; else std::cout << " (Open FAILED)";