Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAlphaFox committed Oct 4, 2021
1 parent 3ead39f commit 6b36a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiutp_pcb.erl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ process_packet(#aiutp_packet{type = PktType,seq_nr = PktSeqNR,conn_id = ConnId,a
#aiutp_pcb{state = State} = PCB)->
Now = aiutp_util:millisecond(),
if PktType == ?ST_DATA ->
io:fomart("ConnId: ~p recv packet PktSeqNR: ~p PktAckNR: ~p~n",[ConnId,PktSeqNR,PktAckNR]);
io:format("ConnId: ~p recv packet PktSeqNR: ~p PktAckNR: ~p~n",[ConnId,PktSeqNR,PktAckNR]);
true -> ok
end,
PCB0 =
Expand Down

0 comments on commit 6b36a96

Please sign in to comment.