From: fredrik Date: Tue, 29 May 2007 15:44:21 +0000 (+0000) Subject: Use swcsdup instead of wcsdup. X-Git-Tag: 0.4~26 X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=2af7e5b059fda7d6db85b8ad0abb3f0ef332147c;p=doldaconnect.git Use swcsdup instead of wcsdup. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1052 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/daemon/ui.c b/daemon/ui.c index 4918b74..8e9b643 100644 --- a/daemon/ui.c +++ b/daemon/ui.c @@ -1435,7 +1435,7 @@ static void notifappendv(struct notif *notif, va_list args) notif->argv[ca].d.n = va_arg(args, int); break; case NOTIF_STR: - notif->argv[ca].d.s = wcsdup(va_arg(args, wchar_t *)); + notif->argv[ca].d.s = swcsdup(va_arg(args, wchar_t *)); break; case NOTIF_FLOAT: notif->argv[ca].d.d = va_arg(args, double);