Skip to content

Commit

Permalink
fix: sip uac message test invalid req pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
ireader committed Jul 28, 2024
1 parent e7e7f6b commit 159a8ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions librtsp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ SOURCE_PATHS = source source/client source/server source/utils source/sdp
SOURCE_FILES = $(foreach dir,$(SOURCE_PATHS),$(wildcard $(dir)/*.cpp))
SOURCE_FILES += $(foreach dir,$(SOURCE_PATHS),$(wildcard $(dir)/*.c))

SOURCE_FILES += $(ROOT)/source/digest/md5.c
SOURCE_FILES += $(ROOT)/source/base64.c
#SOURCE_FILES += $(ROOT)/source/digest/md5.c
#SOURCE_FILES += $(ROOT)/source/base64.c

#-----------------------------Library--------------------------------
#
Expand Down
2 changes: 1 addition & 1 deletion libsip/test/sip-uac-message-test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ static void sip_uac_message_subscribe(struct sip_agent_t* sip, struct sip_transp
// sip_uac_add_header(t2.get(), "CSeq", "314160 SUBSCRIBE");// modify cseq.id
sip_uac_add_header(t2.get(), "Content-Type", "application/sdp");
sip_uac_add_header_int(t2.get(), "Content-Length", 0);
sip_uac_send(t2.get(), "", 0, udp, req);
sip_uac_send(t2.get(), "", 0, udp, req2);
sip_agent_input(sip, reply2, NULL);
sip_agent_input(sip, reply2, NULL);
sip_message_destroy(req2);
Expand Down

0 comments on commit 159a8ed

Please sign in to comment.