Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
eb2fa22e
Commit
eb2fa22e
authored
Nov 04, 2009
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stun_agent_set_software must also take a const char *, not just a char *
parent
07f53dfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
stun/stunagent.c
stun/stunagent.c
+1
-1
stun/stunagent.h
stun/stunagent.h
+2
-2
No files found.
stun/stunagent.c
View file @
eb2fa22e
...
@@ -684,7 +684,7 @@ stun_agent_find_unknowns (StunAgent *agent, const StunMessage * msg,
...
@@ -684,7 +684,7 @@ stun_agent_find_unknowns (StunAgent *agent, const StunMessage * msg,
return
count
;
return
count
;
}
}
void
stun_agent_set_software
(
StunAgent
*
agent
,
char
*
software
)
void
stun_agent_set_software
(
StunAgent
*
agent
,
c
onst
c
har
*
software
)
{
{
agent
->
software_attribute
=
software
;
agent
->
software_attribute
=
software
;
}
}
stun/stunagent.h
View file @
eb2fa22e
...
@@ -187,7 +187,7 @@ struct stun_agent_t {
...
@@ -187,7 +187,7 @@ struct stun_agent_t {
StunAgentSavedIds
sent_ids
[
STUN_AGENT_MAX_SAVED_IDS
];
StunAgentSavedIds
sent_ids
[
STUN_AGENT_MAX_SAVED_IDS
];
uint16_t
*
known_attributes
;
uint16_t
*
known_attributes
;
StunAgentUsageFlags
usage_flags
;
StunAgentUsageFlags
usage_flags
;
char
*
software_attribute
;
c
onst
c
har
*
software_attribute
;
};
};
/**
/**
...
@@ -497,6 +497,6 @@ bool stun_agent_forget_transaction (StunAgent *agent, StunTransactionId id);
...
@@ -497,6 +497,6 @@ bool stun_agent_forget_transaction (StunAgent *agent, StunTransactionId id);
</note>
</note>
*
*
*/
*/
void
stun_agent_set_software
(
StunAgent
*
agent
,
char
*
software
);
void
stun_agent_set_software
(
StunAgent
*
agent
,
c
onst
c
har
*
software
);
#endif
/* _STUN_AGENT_H */
#endif
/* _STUN_AGENT_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment