aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-pilot-util.c
diff options
context:
space:
mode:
authorJP Roseveaer <jpr@ximian.com>2001-01-15 22:04:29 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-01-15 22:04:29 +0800
commit905f29ebb386bcd2d5becd8d348f2d0bd000430f (patch)
tree96c339636221ecf57ebf178c7e80436badec92fa /e-util/e-pilot-util.c
parentd3a4ca8979999a93a94c77a983b96aa642e27b2b (diff)
downloadgsoc2013-evolution-905f29ebb386bcd2d5becd8d348f2d0bd000430f.tar.gz
gsoc2013-evolution-905f29ebb386bcd2d5becd8d348f2d0bd000430f.tar.zst
gsoc2013-evolution-905f29ebb386bcd2d5becd8d348f2d0bd000430f.zip
Dup the string passed in, not the temporary string. d'oh.
2001-01-15 JP Roseveaer <jpr@ximian.com> * e-pilot-util.c (e_pilot_utf8_from_pchar): Dup the string passed in, not the temporary string. d'oh. svn path=/trunk/; revision=7501
Diffstat (limited to 'e-util/e-pilot-util.c')
-rw-r--r--e-util/e-pilot-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-pilot-util.c b/e-util/e-pilot-util.c
index 58c6937b8c..0f91f48e3a 100644
--- a/e-util/e-pilot-util.c
+++ b/e-util/e-pilot-util.c
@@ -56,7 +56,7 @@ e_pilot_utf8_from_pchar (const char *string)
res = convert_FromPilotChar ("UTF8", string, strlen (string), &ustring);
if (res != 0)
- ustring = strdup (ustring);
+ ustring = strdup (string);
return ustring;
}