diff autocal/rvinterf.c @ 47:e86779d5445c

autocal: preparations for receiving auto stats and rfe completion
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 May 2017 06:46:17 +0000
parents 724e16223187
children
line wrap: on
line diff
--- a/autocal/rvinterf.c	Sat May 27 06:25:59 2017 +0000
+++ b/autocal/rvinterf.c	Sat May 27 06:46:17 2017 +0000
@@ -163,3 +163,13 @@
 	}
 	return(0);
 }
+
+collect_extra_pkt_from_target()
+{
+	collect_rvi_msg();
+	if (rvi_msg[0] != RVI2CLI_PKT_FROM_TARGET) {
+		fprintf(stderr, "error: unexpected message from rvinterf\n");
+		exit(ERROR_RVINTERF);
+	}
+	return(0);
+}