Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 72359
Collapse All | Expand All

(-)netkit-rsh-0.17/rcp/rcp.c.org (-4 / +9 lines)
Lines 877-893 error(const char *fmt, ...) Link Here
877
	static FILE *fp;
877
	static FILE *fp;
878
	va_list ap;
878
	va_list ap;
879
879
880
	va_start(ap, fmt);
881
882
	++errs;
880
	++errs;
883
	if (!fp && !(fp = fdopen(rem, "w")))
881
	if (!fp && !(fp = fdopen(rem, "w")))
884
		return;
882
		return;
883
884
	va_start(ap, fmt);
885
	fprintf(fp, "%c", 0x01);
885
	fprintf(fp, "%c", 0x01);
886
	vfprintf(fp, fmt, ap);
886
	vfprintf(fp, fmt, ap);
887
	fflush(fp);
887
	fflush(fp);
888
	if (!iamremote)	vfprintf(stderr, fmt, ap);
889
890
	va_end(ap);
888
	va_end(ap);
889
	
890
	if (!iamremote)	{
891
		va_start(ap, fmt);
892
		vfprintf(stderr, fmt, ap);
893
		va_end(ap);
894
	}
895
891
}
896
}
892
897
893
static void 
898
static void 

Return to bug 72359