On Thu, 2006-07-06 at 23:22 +0200, Philip Van Hoof wrote: > On Thu, 2006-07-06 at 15:18 -0400, Jeffrey Stedfast wrote: > > For some strange reason I thought the pstring stuff already did that, > > oops. I guess I was thinking of similar code I wrote a few years back > > for another project... > > > > This patch does it the way I had done it in another project of mine > > > > Something went wrong ...
Fix -- Philip Van Hoof, software developer at x-tend home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org work: vanhoof at x-tend dot be http://www.pvanhoof.be - http://www.x-tend.be
? camel-mime-tables.c Index: camel-string-utils.c =================================================================== RCS file: /cvs/gnome/evolution-data-server/camel/camel-string-utils.c,v retrieving revision 1.6 diff -u -r1.6 camel-string-utils.c --- camel-string-utils.c 6 Jul 2006 19:43:47 -0000 1.6 +++ camel-string-utils.c 6 Jul 2006 21:24:03 -0000 @@ -164,10 +164,10 @@ 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 "";
_______________________________________________ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers