diff options
| author | Sankar P <psankar@novell.com> | 2006-07-07 05:10:23 +0000 |
|---|---|---|
| committer | Sankarasivasubramanian Pasupathilingam <psankar@src.gnome.org> | 2006-07-07 05:10:23 +0000 |
| commit | d2b5690e1006717e1c2c218b0c76a4587b8ac3a0 (patch) | |
| tree | b56368e792837232d91a1e275c8ab88d3fa04427 | |
| parent | cd6be28822900337ef6dd3d527b309f55f359cd7 (diff) | |
| download | evolution-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/ChangeLog | 5 | ||||
| -rw-r--r-- | camel/camel-string-utils.c | 6 |
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 ""; |
