diff cli-authinteract.c @ 299:740e782679be ucc-axis-hack

Various changes to compile+kind of run on UCC's axis board. Note that fprintf(stdin -> printf( accounts for many of the changes
author Matt Johnston <matt@ucc.asn.au>
date Sat, 25 Mar 2006 12:57:09 +0000
parents d059b0bb57dd
children 973fccb59ea4
line wrap: on
line diff
--- a/cli-authinteract.c	Fri Dec 09 06:10:27 2005 +0000
+++ b/cli-authinteract.c	Sat Mar 25 12:57:09 2006 +0000
@@ -39,7 +39,7 @@
 	char buf[DROPBEAR_MAX_CLI_PASS];
 	char* ret = NULL;
 
-	fprintf(stderr, "%s", prompt);
+	printf( "%s", prompt);
 
 	tty = fopen(_PATH_TTY, "r");
 	if (tty) {
@@ -98,12 +98,12 @@
 
 	if (strlen(name) > 0) {
 		cleantext(name);
-		fprintf(stderr, "%s", name);
+		printf( "%s", name);
 		m_free(name);
 	}
 	if (strlen(instruction) > 0) {
 		cleantext(instruction);
-		fprintf(stderr, "%s", instruction);
+		printf( "%s", instruction);
 		m_free(instruction);
 	}