diff options
author | Daniel Rentz [dr] <daniel.rentz@oracle.com> | 2010-09-28 20:30:05 +0200 |
---|---|---|
committer | Daniel Rentz [dr] <daniel.rentz@oracle.com> | 2010-09-28 20:30:05 +0200 |
commit | 5b68ea68378953e16ec0e28ce326d2c6a896cccb (patch) | |
tree | 31ca890bb836d5e65d53e8a0a9dc5d1eea45d39a /xmlsecurity | |
parent | 2d35bb133989a6f12a8052820e9808e21fbbf690 (diff) | |
parent | 05e178629a416b8c087099c2840ae7c2bffa2733 (diff) |
dr77: rebase to DEV300_m88
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/tools/demo/util2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlsecurity/tools/demo/util2.cxx b/xmlsecurity/tools/demo/util2.cxx index 955cb94a0474..0ec576d8d3f8 100644 --- a/xmlsecurity/tools/demo/util2.cxx +++ b/xmlsecurity/tools/demo/util2.cxx @@ -384,7 +384,7 @@ void QueryPrintSignatureDetails( const SignatureInformations& SignatureInformati { char cShowDetails; fprintf( stdout, "\nDisplay details (y/n) [y]?" ); - fflush(stdin); + fflush( stdout ); fscanf( stdin, "%c", &cShowDetails); if ( cShowDetails == 'y' ) { @@ -409,7 +409,7 @@ int QuerySelectNumber( int nMin, int nMax ) do { fprintf( stdout, "\nSelect <%d-%d>:", nMin, nMax ) ; - fflush(stdin); + fflush( stdout ); fscanf( stdin, "%d", &sel ) ; } while( ( sel < nMin ) || ( sel > nMax ) ); @@ -420,7 +420,7 @@ long QueryVerifySignature() { char answer; fprintf( stdout, "\nFound a signature - verify this one (y/n) [y]?" ); - fflush(stdin); + fflush( stdout ); fscanf( stdin, "%c", &answer); return (answer == 'n')?0:1; } |