changeset 10788:19de830330cf

[gaim-migrate @ 12429] " You can't pass NULL as errormsg as the documentation implies. If you do, it segfaults. Perhaps that should be allowable, but as the code stands, it's not. The documentation should be updated in HEAD and oldstatus to reflect this. Attached is a patch to that effect." --rlaager committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 07 Apr 2005 14:41:18 +0000
parents c932d96a7c69
children 0caa9827edf5
files src/cmds.h
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/cmds.h	Thu Apr 07 14:35:25 2005 +0000
+++ b/src/cmds.h	Thu Apr 07 14:41:18 2005 +0000
@@ -150,9 +150,8 @@
  * @param markup This is the same as cmd, but is the formatted version. It should be in
  *               HTML, with < > and &, at least, escaped to html entities, and should
  *               include both the default formatting and any extra manual formatting.
- * @param errormsg If the command failed and errormsg is not NULL, it is filled in with
- *                 the appropriate error message. It should be freed by the caller with
- *                 g_free().
+ * @param errormsg If the command failed errormsg is filled in with the appropriate error
+ *                 message. It must be freed by the caller with g_free().
  * @return A GaimCmdStatus indicated if the command succeeded or failed.
  */
 GaimCmdStatus gaim_cmd_do_command(GaimConversation *conv, const gchar *cmdline,