From 2af7e5b059fda7d6db85b8ad0abb3f0ef332147c Mon Sep 17 00:00:00 2001 From: fredrik Date: Tue, 29 May 2007 15:44:21 +0000 Subject: [PATCH] Use swcsdup instead of wcsdup. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1052 959494ce-11ee-0310-bf91-de5d638817bd --- daemon/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0