From 82ab6d27cc2b434b4b7ffa528396d67fe6993222 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 3 Mar 2010 02:02:48 +0000 Subject: Fix minor errors and warnings in the examples. Remove boost dependency from rng_test example. --- doc/examples/tls_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/examples/tls_client.cpp') diff --git a/doc/examples/tls_client.cpp b/doc/examples/tls_client.cpp index 9e6b510f2..b60941eb2 100644 --- a/doc/examples/tls_client.cpp +++ b/doc/examples/tls_client.cpp @@ -38,7 +38,7 @@ int main() byte buf[16+1] = { 0 }; u32bit got = tls.read(buf, sizeof(buf)-1); - printf("%s", buf); + printf("Got %d bytes: %s", got, buf); fflush(0); } } -- cgit v1.2.3