Index: libecasoundc/ecasoundc_sa.c =================================================================== RCS file: /home/cvspsrv/cvsroot/sound/ecasound/libecasoundc/ecasoundc_sa.c,v retrieving revision 1.21 diff -u -r1.21 ecasoundc_sa.c --- libecasoundc/ecasoundc_sa.c 6 Oct 2004 20:42:42 -0000 1.21 +++ libecasoundc/ecasoundc_sa.c 21 Oct 2004 22:44:58 -0000 @@ -935,7 +935,7 @@ break; case 'l': - parser->last_i_rep = atol(parser->buffer_repp); + parser->last_li_rep = atol(parser->buffer_repp); break; case 'f': @@ -1040,7 +1040,7 @@ int len = (parser->buffer_current_rep < ECI_MAX_RETURN_TYPE_SIZE) ? parser->buffer_current_rep : (ECI_MAX_RETURN_TYPE_SIZE - 1); parser->buffer_repp[parser->buffer_current_rep] = 0; memcpy(parser->last_type_repp, parser->buffer_repp, len); - parser->last_type_repp[ECI_MAX_RETURN_TYPE_SIZE - 1] = 0; + parser->last_type_repp[len] = 0; /* ECI_DEBUG_2("(ecasoundc_sa) found rettype '%s' (len=%d).\n", parser->last_type_repp, parser->buffer_current_rep); */