summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Crane <steve.crane@rococosoft.com>2005-03-02 10:23:16 +0000
committerStephen Crane <steve.crane@rococosoft.com>2005-03-02 10:23:16 +0000
commit8b11908eac4e0b4e14534ec2d44ae62806fdfd2f (patch)
treed3b5c500d32e616bb6a1c04b76cd7df1e3d78714 /src
parent28b4f0aea5b15ed7c0acd17ab79705a38ffe7c2f (diff)
fix comments
Diffstat (limited to 'src')
-rw-r--r--src/sdp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sdp.c b/src/sdp.c
index 82bd996d..d2b40380 100644
--- a/src/sdp.c
+++ b/src/sdp.c
@@ -2286,8 +2286,7 @@ void sdp_append_to_pdu(sdp_buf_t *pdu, sdp_data_t *d)
* It is incorrect to call this method on a record that
* has been already registered with the server.
*
- * Returns a non-null value (a pointer) to a service
- * record if successful, else -1 setting errno
+ * Returns zero on success, otherwise -1 (and sets errno).
*/
int sdp_record_register(sdp_session_t *session, sdp_record_t *rec, uint8_t flags)
{