aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/support
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-06-15 10:29:20 -0700
committerGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-06-15 10:29:20 -0700
commita3697b451bdfbfa653d42f4b250b5950dd4b61bb (patch)
treebeabff9da156628f36f00504de6c24c9ef3a5393 /src/core/support
parent5e84be56dbec81fbd9f654943378aa15dba49c1e (diff)
parent0e8237998db70a458ccfc0c8904f83aebd573986 (diff)
Merge branch 'master' of https://github.com/grpc/grpc into ct-you-complete-me
Diffstat (limited to 'src/core/support')
-rw-r--r--src/core/support/log_win32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/support/log_win32.c b/src/core/support/log_win32.c
index 159c7e052c..f878e6aaa1 100644
--- a/src/core/support/log_win32.c
+++ b/src/core/support/log_win32.c
@@ -42,6 +42,7 @@
#include <grpc/support/log_win32.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
+#include <grpc/support/string_util.h>
#include "src/core/support/string.h"
#include "src/core/support/string_win32.h"
@@ -106,7 +107,7 @@ char *gpr_format_message(DWORD messageid) {
NULL, messageid,
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
(LPTSTR)(&tmessage), 0, NULL);
- if (status == 0) return gpr_strdup("Unable to retreive error string");
+ if (status == 0) return gpr_strdup("Unable to retrieve error string");
message = gpr_tchar_to_char(tmessage);
LocalFree(tmessage);
return message;