remove useless printf
authorLaurent Mazet <mazet@softndesign.org>
Fri, 11 Apr 2025 19:44:59 +0000 (21:44 +0200)
committerLaurent Mazet <mazet@softndesign.org>
Fri, 11 Apr 2025 19:44:59 +0000 (21:44 +0200)
morep_simulator.c

index b54bd90528b7fd8f392b9018454b06ae5e615f99..cc5237d43513c78a4830df46fd2050e627e8aa97 100644 (file)
@@ -512,7 +512,6 @@ int main (int argc, char **argv)
             uint8_t msgtype = 0;
             uint8_t payload[MOREP_PAYLOAD] = {0};
             seqnum = MOREP_Receive (comm->morep, &msgtype, payload, &len);
-printf("msgtype: %d\n", msgtype);
 
             /* check msg/pdu type */
             pdu = undef_pdu_e;
@@ -522,7 +521,6 @@ printf("msgtype: %d\n", msgtype);
                 if ((m->service_id == serv->service_id) && (m->msgtype == msgtype)) {
                     pdu = m->pdu;
                     msg = m;
-printf("msgtype: %d %d\n", msgtype, msg->msgtype);
                 }
             }
             /* check msg type */
@@ -530,7 +528,6 @@ printf("msgtype: %d %d\n", msgtype, msg->msgtype);
                 VERBOSE (simul, WARNING, PRINTF ("R:%s[%s] [SEQ=%d MSG=%d LEN=%d PDU=%d] message type is not allowed for this service\n", serv->name, comm->etype, seqnum, msg->msgtype, len, pdu));
                 continue;
             }
-printf("msgtype: %d %d %d\n", msgtype, msg->msgtype, exp_msg->msgtype);
             if (exp_msg->msgtype != msg->msgtype) {
                 VERBOSE (simul, WARNING, PRINTF ("R:%s[%s] [SEQ=%d MSG=%d LEN=%d PDU=%d] expected message type %s\n", serv->name, comm->etype, seqnum, msg->msgtype, len, pdu, exp_msg->name));
                 continue;