rem: LOG(L_ERR, "db_update(): Invalid parameter value\n");
add: LOG(L_ERR, "db_update: Invalid parameter value\n");
context: int db_update(db_con_t* _h, db_key_t* _k, db_op_t* _o, db_val_t* _v,	      db_key_t* _uk, db_val_t* _uv, int _n, int _un){	int off, ret;	if ((!_h) || (!_uk) || (!_uv) || (!_un)) {		LOG(L_ERR, "db_update(): Invalid parameter value\n");		return -1;	}	ret = snprintf(sql_buf, SQL_BUF_LEN, "update %s set ", CON_TABLE(_h));	if (ret < 0 || ret >= SQL_BUF_LEN) goto error;	off = ret;	ret = print_set(CON_CONNECTION(_h), sql_buf + off, SQL_BUF_LEN - off, _uk, _uv, _un);	if (ret < 0) return -1;	off += ret;	if (_n) {		ret = snprintf(sql_buf + off, SQL_BUF_LEN - off, " where ");		if (ret < 0 || ret >= (SQL_BUF_LEN - off)) goto error;		off += ret;		ret = print_where(CON_CONNECTION(_h), sql_buf + off, SQL_BUF_LEN - off, _k, _o, _v, _n);		if (ret < 0) return -1;		off += ret;		*(sql_buf + off) = '\0';	}	if (submit_query(_h, sql_buf) < 0) {		LOG(L_ERR, "db_update: Error while submitting query\n");		return -2;	}	return 0; error:	LOG(L_ERR, "db_update: Error in snprintf\n");	return -1;}