From 3d06ecf60f00bfafdb3136c67db19c51902b5ced Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Sat, 15 Dec 2012 17:41:21 -0800 Subject: [PATCH] refresh (create temporary patch) --- meta | 5 +++-- patches/refresh-temp | 46 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 patches/refresh-temp diff --git a/meta b/meta index 6fa42a9c..9d13418f 100644 --- a/meta +++ b/meta @@ -1,9 +1,10 @@ Version: 1 -Previous: c1395f86e1cbf819ccf3bd7aeb0d061098dd8359 -Head: 9b8e30b0633710e5b1d3e3b6b53775b2ffe95a74 +Previous: b9a7699bc29d620415ac6875f3cc8ddd7efb3eeb +Head: 85b73f4d3d087401e57a11856cd362eadec7d247 Applied: dsocket: 30a3a196b65c1c0637c01d0829f1ed00ba53225d udpong: 9b8e30b0633710e5b1d3e3b6b53775b2ffe95a74 + refresh-temp: 85b73f4d3d087401e57a11856cd362eadec7d247 Unapplied: test-udp: f6c78ad2a26f452cf166aff1baa7b76160bd8bf7 iom-dbg: 88434072d07f8edc58f454ac954d78bd39441eed diff --git a/patches/refresh-temp b/patches/refresh-temp new file mode 100644 index 00000000..5fc82fd3 --- /dev/null +++ b/patches/refresh-temp @@ -0,0 +1,46 @@ +Bottom: 8302a577be6c358d3314f45cc04981a1e2758a4a +Top: 0193ea3f86e40817c7a07fa255410a2807ce8df3 +Author: Sean Hefty +Date: 2012-12-15 17:41:21 -0800 + +Refresh of udpong + +--- + +diff --git a/examples/udpong.c b/examples/udpong.c +index 2e3de3e..af8deb9 100644 +--- a/examples/udpong.c ++++ b/examples/udpong.c +@@ -375,22 +375,11 @@ static int run_test(void) + { + int ret, i; + +-printf("send start msg 1\n"); + msg.op = msg_op_start; + ret = client_send_recv(&msg, CTRL_MSG_SIZE, 1000); + if (ret != CTRL_MSG_SIZE) + goto out; + +- printf("send start msg 2\n"); +- ret = client_send_recv(&msg, CTRL_MSG_SIZE, 1000); +- if (ret != CTRL_MSG_SIZE) +- goto out; +- printf("send start msg 3\n"); +- ret = client_send_recv(&msg, CTRL_MSG_SIZE, 1000); +- if (ret != CTRL_MSG_SIZE) +- goto out; +- printf("starting test\n"); +- + msg.op = echo ? msg_op_echo : msg_op_data; + gettimeofday(&start, NULL); + for (i = 0; i < transfer_count; i++) { +@@ -440,10 +429,8 @@ static int client_connect(void) + rs_close(rs); + } + +- printf("send login msg\n"); + msg.op = msg_op_login; + ret = client_send_recv(&msg, CTRL_MSG_SIZE, 1000); +- printf("login %d %s\n", ret, strerror(errno)); + if (ret == CTRL_MSG_SIZE) + ret = 0; -- 2.46.0