summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2006-07-07 05:10:23 +0000
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2006-07-07 05:10:23 +0000
commitd2b5690e1006717e1c2c218b0c76a4587b8ac3a0 (patch)
treeb56368e792837232d91a1e275c8ab88d3fa04427
parentcd6be28822900337ef6dd3d527b309f55f359cd7 (diff)
downloadevolution-data-server-d2b5690e1006717e1c2c218b0c76a4587b8ac3a0.tar.gz
Fixes a variable naming error. Fixes build break.
2006-07-07 Sankar P <psankar@novell.com> * camel-string-utils.c (camel_pstring_add): Fixes a variable naming error. Fixes build break.
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-string-utils.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 83decf146..a760a329f 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2006-07-07 Sankar P <psankar@novell.com>
+
+ * camel-string-utils.c (camel_pstring_add):
+ Fixes a variable naming error. Fixes build break.
+
2006-07-06 Jeffrey Stedfast <fejj@novell.com>
* camel-string-utils.c (camel_pstring_add): New function that now
diff --git a/camel/camel-string-utils.c b/camel/camel-string-utils.c
index b1f902984..f5718514b 100644
--- a/camel/camel-string-utils.c
+++ b/camel/camel-string-utils.c
@@ -148,7 +148,7 @@ static GHashTable *pstring_table = NULL;
/**
* camel_pstring_add:
* @str: string to add to the string pool
- * @own: whether the string pool will own the memory pointed to by @s if @str is not yet in the pool
+ * @own: whether the string pool will own the memory pointed to by @str, if @str is not yet in the pool
*
* Add the string to the pool.
*
@@ -164,10 +164,10 @@ camel_pstring_add (char *str, gboolean own)
char *pstr;
int count;
- if (s == NULL)
+ if (str == NULL)
return NULL;
- if (s[0] == '\0') {
+ if (str[0] == '\0') {
if (own)
g_free (str);
return "";