From 40964dd39decf8b64d82090b5bb9ecac05901c07 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Tue, 6 Nov 2012 06:38:14 -0500 Subject: [PATCH] Windows: no more _wcsdup; use wcsdup _wcsdup is not mapped by roken.h. Use wcsdup which is. Change-Id: I0f6bb3f5465c74ad52f992892fcbc9837c276c0c Reviewed-on: http://gerrit.openafs.org/8364 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/WINNT/afsd/rpc_wkssvc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WINNT/afsd/rpc_wkssvc.c b/src/WINNT/afsd/rpc_wkssvc.c index 60433256ee..805853e534 100644 --- a/src/WINNT/afsd/rpc_wkssvc.c +++ b/src/WINNT/afsd/rpc_wkssvc.c @@ -82,7 +82,7 @@ unsigned long NetrWkstaGetInfo( WkstaInfo->WkstaInfo101->wki101_lanroot = NULL; case 100: WkstaInfo->WkstaInfo100->wki100_computername = _wcsupr(wcsdup(s)); - WkstaInfo->WkstaInfo100->wki100_langroup = _wcsdup(L"AFS"); + WkstaInfo->WkstaInfo100->wki100_langroup = wcsdup(L"AFS"); WkstaInfo->WkstaInfo100->wki100_platform_id = PLATFORM_ID_AFS; WkstaInfo->WkstaInfo100->wki100_ver_major = AFSPRODUCT_VERSION_MAJOR; WkstaInfo->WkstaInfo100->wki100_ver_minor = AFSPRODUCT_VERSION_MINOR;