summaryrefslogtreecommitdiff
path: root/stun/stunagent.h
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2009-11-04 15:16:30 -0500
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2009-11-04 15:18:44 -0500
commiteb2fa22e4cf6a4c88bcfbb6e788ddef60c946732 (patch)
tree247ff9bd53629af120c5a50c9d4ee5d921cc9249 /stun/stunagent.h
parent07f53dfa1e59de659314e2b4bed8e3de5da73c6e (diff)
downloadlibnice-eb2fa22e4cf6a4c88bcfbb6e788ddef60c946732.tar.gz
stun_agent_set_software must also take a const char *, not just a char *
Diffstat (limited to 'stun/stunagent.h')
-rw-r--r--stun/stunagent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stun/stunagent.h b/stun/stunagent.h
index f83837a..6315eb0 100644
--- a/stun/stunagent.h
+++ b/stun/stunagent.h
@@ -187,7 +187,7 @@ struct stun_agent_t {
StunAgentSavedIds sent_ids[STUN_AGENT_MAX_SAVED_IDS];
uint16_t *known_attributes;
StunAgentUsageFlags usage_flags;
- char *software_attribute;
+ const char *software_attribute;
};
/**
@@ -497,6 +497,6 @@ bool stun_agent_forget_transaction (StunAgent *agent, StunTransactionId id);
</note>
*
*/
-void stun_agent_set_software (StunAgent *agent, char *software);
+void stun_agent_set_software (StunAgent *agent, const char *software);
#endif /* _STUN_AGENT_H */