comparison cli-runopts.c @ 505:805e557fdff7

Report errors if a remote request fails
author Matt Johnston <matt@ucc.asn.au>
date Sun, 02 Nov 2008 12:25:08 +0000
parents ae600f1eef81
children 4e251543b941
comparison
equal deleted inserted replaced
504:950c38b854a1 505:805e557fdff7
607 if (newfwd->connectport > 65535) { 607 if (newfwd->connectport > 65535) {
608 TRACE(("connectport > 65535")) 608 TRACE(("connectport > 65535"))
609 goto badport; 609 goto badport;
610 } 610 }
611 611
612 newfwd->have_reply = 0;
612 newfwd->next = *fwdlist; 613 newfwd->next = *fwdlist;
613 *fwdlist = newfwd; 614 *fwdlist = newfwd;
614 615
615 TRACE(("leave addforward: done")) 616 TRACE(("leave addforward: done"))
616 return; 617 return;