comparison svr-x11fwd.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 161557a9dde8
children
comparison
equal deleted inserted replaced
266:e37b160c414c 299:740e782679be
159 if (authprog) { 159 if (authprog) {
160 fprintf(authprog, "add %s %s %s\n", 160 fprintf(authprog, "add %s %s %s\n",
161 display, chansess->x11authprot, chansess->x11authcookie); 161 display, chansess->x11authprot, chansess->x11authcookie);
162 pclose(authprog); 162 pclose(authprog);
163 } else { 163 } else {
164 fprintf(stderr, "Failed to run %s\n", XAUTH_COMMAND); 164 printf( "Failed to run %s\n", XAUTH_COMMAND);
165 } 165 }
166 } 166 }
167 167
168 void x11cleanup(struct ChanSess *chansess) { 168 void x11cleanup(struct ChanSess *chansess) {
169 169