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 <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
Jeffrey Altman 2012-11-06 06:38:14 -05:00
parent f749f17fe1
commit 40964dd39d

View File

@ -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;