[dev] [st][PATCH 3/4] Remove duplicated code in strhandle

2014-02-02 Thread Roberto E. Vargas Caballero
The error condition was duplicated in two different switches. This new version centralized the error handling in only one place. Signed-off-by: Roberto E. Vargas Caballero --- st.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/st.c b/st.c index 21

[dev] [st][PATCH 3/4] Remove duplicated code in strhandle

2014-02-02 Thread Roberto E. Vargas Caballero
The error condition was duplicated in two different switches. This new version centralized the error handling in only one place. Signed-off-by: Roberto E. Vargas Caballero --- st.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/st.c b/st.c index 21