Use swcsdup instead of wcsdup.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 29 May 2007 15:44:21 +0000 (15:44 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 29 May 2007 15:44:21 +0000 (15:44 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1052 959494ce-11ee-0310-bf91-de5d638817bd

daemon/ui.c

index 4918b74..8e9b643 100644 (file)
@@ -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);