summaryrefslogtreecommitdiff
path: root/dbus/dbus-message.c
diff options
context:
space:
mode:
authorChengwei Yang <chengwei.yang@intel.com>2013-06-20 22:03:49 +0800
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-08-22 20:01:08 +0100
commit15bc915d7469233eeed997044f79bd619b62bd4e (patch)
treee1b742b4fb99e9653490ba8f903c0b656736220f /dbus/dbus-message.c
parent0928169cf80bf767f7246ecaa52cc01e198bb15a (diff)
downloaddbus-15bc915d7469233eeed997044f79bd619b62bd4e.tar.gz
Doc: fix incorrect param names, missing params, non-exist params
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65755
Diffstat (limited to 'dbus/dbus-message.c')
-rw-r--r--dbus/dbus-message.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/dbus/dbus-message.c b/dbus/dbus-message.c
index 079251ea..20c8be35 100644
--- a/dbus/dbus-message.c
+++ b/dbus/dbus-message.c
@@ -3981,7 +3981,7 @@ _dbus_message_loader_get_unix_fds(DBusMessageLoader *loader,
*
* @param loader the message loader.
* @param fds the array fds were read into
- * @param max_n_fds how many fds were read
+ * @param n_fds how many fds were read
*/
void
@@ -4409,7 +4409,7 @@ _dbus_message_loader_get_max_message_size (DBusMessageLoader *loader)
* Sets the maximum unix fds per message we allow.
*
* @param loader the loader
- * @param size the max number of unix fds in a message
+ * @param n the max number of unix fds in a message
*/
void
_dbus_message_loader_set_max_message_unix_fds (DBusMessageLoader *loader,
@@ -4729,9 +4729,8 @@ dbus_message_demarshal (const char *str,
* Generally, this function is only useful for encapsulating D-Bus messages in
* a different protocol.
*
- * @param str data to be marshalled
- * @param len the length of str
- * @param error the location to save errors to
+ * @param buf data to be marshalled
+ * @param len the length of @p buf
* @returns -1 if there was no valid data to be demarshalled, 0 if there wasn't enough data to determine how much should be demarshalled. Otherwise returns the number of bytes to be demarshalled
*
*/