summaryrefslogtreecommitdiffstats
path: root/src/windows/identity/ui/debugfuncs.c
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2006-06-25 19:21:41 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2006-06-25 19:21:41 +0000
commitbd7edfe0a67af34296baa530d2a2218ec4ddcb2d (patch)
tree209f2041cde5e42570d4e36eed0a12a43a4833aa /src/windows/identity/ui/debugfuncs.c
parent05352b990d5caeed4c6afe3140ab946842bd743d (diff)
downloadkrb5-bd7edfe0a67af34296baa530d2a2218ec4ddcb2d.tar.gz
krb5-bd7edfe0a67af34296baa530d2a2218ec4ddcb2d.tar.xz
krb5-bd7edfe0a67af34296baa530d2a2218ec4ddcb2d.zip
NetIDMgr updates
* add scrollbars to option tree pane in configuration dialog * convert to using Microsoft's safe string library both to ensure safe string manipulation and to avoid deprecation warnings * disable deprecation warnings for Platform SDK header shlwapi.h which cannot otherwise be compiled * add kerberos 5 kvno property to tickets. display in properties dialog and main window if column selected by user * improve manifest handling in order to support both manifests generated by the compiler and those hand crafted in order to specify the correct versions of the custom control libraries. * update khimaira message types and credential acquisition documentation ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18212 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/identity/ui/debugfuncs.c')
-rw-r--r--src/windows/identity/ui/debugfuncs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/windows/identity/ui/debugfuncs.c b/src/windows/identity/ui/debugfuncs.c
index b18ef42bb7..7df6e9d651 100644
--- a/src/windows/identity/ui/debugfuncs.c
+++ b/src/windows/identity/ui/debugfuncs.c
@@ -202,8 +202,12 @@ void khm_start_file_log(void) {
khm_get_file_log_path(sizeof(temppath), temppath);
+ logfile = NULL;
+#if _MSC_VER >= 1400
+ _wfopen_s(&logfile, temppath, L"w");
+#else
logfile = _wfopen(temppath, L"w");
-
+#endif
kherr_add_ctx_handler(debug_event_handler,
KHERR_CTX_BEGIN |
KHERR_CTX_END |