make tester more verbose

unencrypted_transport
Gernot Kranz 3 weeks ago
parent d1afe11032
commit fb0945a962
  1. 5
      test/pEp_listener.c

@ -59,7 +59,10 @@ int main(void) {
// free_message(pep_msg);
// pep_msg = NULL;
status = udp_recvnext(session, &pep_msg, &tsc);
if(status) continue;
if(status){
printf("Status not OK: %s",pEp_status_to_string (status));
continue;
}
time(&curtime);
printf("Message %i received at %s:\n\n",x++,ctime(&curtime));
printf("Content:\n%s\n",pep_msg->longmsg);

Loading…
Cancel
Save