Fix to unreported bug which printed result of getsockopt even in case when there was no socket error.

This commit is contained in:
VilhoRaatikka
2014-11-27 15:37:13 +02:00
parent d063df0f4a
commit 83f7203213
2 changed files with 23 additions and 21 deletions

View File

@ -1232,19 +1232,18 @@ bool service_set_param_value (
/*
* Function to find a string in typelib_t
* (similar to find_type() of mysys/typelib.c)
*
* SYNOPSIS
* find_type()
* lib typelib_t
* find String to find
* length Length of string to find
* part_match Allow part matching of value
*
* RETURN
* 0 error
* > 0 position in TYPELIB->type_names +1
*
* SYNOPSIS
* find_type()
* lib typelib_t
* find String to find
* length Length of string to find
* part_match Allow part matching of value
*
* RETURN
* 0 error
* > 0 position in TYPELIB->type_names +1
*/
static int find_type(
typelib_t* tl,
const char* needle,