diff --git a/lib/m17_coder_impl.cc b/lib/m17_coder_impl.cc index fcdfef1..511b13d 100644 --- a/lib/m17_coder_impl.cc +++ b/lib/m17_coder_impl.cc @@ -84,7 +84,8 @@ void m17_coder_impl::set_src_id(std::string src_id) for (int i=0;i<10;i++) {_src_id[i]=0;} if (src_id.length()>9) length=9; else length=src_id.length(); for (int i=0;i>8; lsf.crc[1]=ccrc&0xFF; @@ -95,7 +96,7 @@ void m17_coder_impl::set_dst_id(std::string dst_id) for (int i=0;i<10;i++) {_dst_id[i]=0;} if (dst_id.length()>9) length=9; else length=dst_id.length(); for (int i=0;i>8; lsf.crc[1]=ccrc&0xFF;