42 lines
1.5 KiB
Diff
42 lines
1.5 KiB
Diff
From 49651673afe704d5911ba29404390958dbc7ee05 Mon Sep 17 00:00:00 2001
|
|
From: Matej Habrnal <mhabrnal@redhat.com>
|
|
Date: Wed, 22 Oct 2014 01:32:33 +0200
|
|
Subject: [PATCH] ureport: wrong description of two functions in ureport.h
|
|
|
|
Changed wrong description of function ureport_attach_string and
|
|
ureport_attach_int. Both of these functions returns True in case of any error
|
|
(not False).
|
|
|
|
fixes #298
|
|
|
|
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
|
|
---
|
|
src/include/ureport.h | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/include/ureport.h b/src/include/ureport.h
|
|
index 104e8d0..852ee0e 100644
|
|
--- a/src/include/ureport.h
|
|
+++ b/src/include/ureport.h
|
|
@@ -233,7 +233,7 @@ ureport_json_attachment_new(const char *bthash, const char *type, const char *da
|
|
* @param type Type of attachment
|
|
* @param data Attached data
|
|
* @param config Configuration used in communication
|
|
- * @return False in case of any error; otherwise True
|
|
+ * @return True in case of any error; otherwise False
|
|
*/
|
|
#define ureport_attach_string libreport_ureport_attach_string
|
|
bool
|
|
@@ -247,7 +247,7 @@ ureport_attach_string(const char *bthash, const char *type, const char *data,
|
|
* @param type Type of attachment
|
|
* @param data Attached data
|
|
* @param config Configuration used in communication
|
|
- * @return False in case of any error; otherwise True
|
|
+ * @return True in case of any error; otherwise False
|
|
*/
|
|
#define ureport_attach_int libreport_ureport_attach_int
|
|
bool
|
|
--
|
|
2.1.0
|
|
|