From 8c408948cc956c50527cf6e6fc0808e185a6b105 Mon Sep 17 00:00:00 2001
From: Andrey Nakin <andrey.nakin@gmail.com>
Date: 摹曛, 16 4月 2015 22:27:12 +0800
Subject: [PATCH] Merge branch 'master' of https://github.com/j123b567/scpi-parser

---
 examples/test-tcp/main.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/examples/test-tcp/main.c b/examples/test-tcp/main.c
index 6aa99aa..2336165 100644
--- a/examples/test-tcp/main.c
+++ b/examples/test-tcp/main.c
@@ -76,12 +76,9 @@
     return SCPI_RES_OK;
 }
 
-/**
- * Return 0 as OK and other number as error
- */
 scpi_result_t SCPI_Test(scpi_t * context) {
     fprintf(stderr, "**Test\r\n");
-    return 0;
+    return SCPI_RES_OK;
 }
 
 scpi_result_t SCPI_Reset(scpi_t * context) {

--
Gitblit v1.9.1