rem: int method;
add: unsigned int method;
context: static int fixup_method(void** param, int param_no){	str* s;	char *p;	int m;	int method;		s = (str*)pkg_malloc(sizeof(str));	if (!s) {		LOG(L_ERR, "textops:fixup_method: No memory left\n");		return E_UNSPEC;	}	s->s = (char*)*param;	s->len = strlen(s->s);	if(s->len==0)	{		LOG(L_ERR,"textops:fixup_method: empty method name\n");		pkg_free(s);		return E_UNSPEC;	}	m=0;	p=s->s;	while(*p)	{		if(*p=='|')		{			*p = ',';			m=1;		}		p++;	}	if(parse_methods(s, &method)!=0)	{		LOG(L_ERR,"textops:fixup_method: bad method names\n");		pkg_free(s);		return E_UNSPEC;	}	if(m==1)	{		if(method==METHOD_UNDEF || method&METHOD_OTHER)		{			LOG(L_ERR,				"textops:fixup_method: unknown method in list [%.*s/%d]"				" - must be only defined methods\n",				s->len, s->s, method);			return E_UNSPEC;		}		DBG("textops:fixup_method: using id for methods [%.*s/%d]\n",				s->len, s->s, method);		s->s = 0;		s->len = method;	} else {		if(method!=METHOD_UNDEF && method!=METHOD_OTHER)		{			DBG("textops:fixup_method: using id for method [%.*s/%d]\n",				s->len, s->s, method);			s->s = 0;			s->len = method;		} else			DBG("textops:fixup_method: name for method [%.*s/%d]\n",				s->len, s->s, method);	}	*param = (void*)s;	return 0;}