aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-09-16 16:49:17 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-09-16 16:49:17 +0000
commit6a1bd211fd9296071cf4b6b0adff91d9eaca81e3 (patch)
treeb9b01eea9a2fd5a5b02ffd99415e4bf56b064652 /wsutil
parentcc7a3cf06c2dbe484b736b994bf9d73cb903319b (diff)
Trivial: Fix typo.
svn path=/trunk/; revision=52101
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/file_util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/wsutil/file_util.c b/wsutil/file_util.c
index 99721984b2..2b90bab9ff 100644
--- a/wsutil/file_util.c
+++ b/wsutil/file_util.c
@@ -28,7 +28,7 @@
* DO NOT USE THESE FUNCTIONS DIRECTLY, USE ws_open() AND ALIKE FUNCTIONS FROM file_util.h INSTEAD!!!
*
* the following code is stripped down code copied from the GLib file glib/gstdio.h
- * stipped down, because this is used on _WIN32 only and we use only wide char functions */
+ * stripped down, because this is used on _WIN32 only and we use only wide char functions */
#ifndef _WIN32
#error "This is only for Windows"
@@ -623,9 +623,9 @@ static SECURITY_ATTRIBUTES *sec_attributes_;
void create_app_running_mutex() {
SECURITY_ATTRIBUTES *sa = NULL;
-
+
if (!sec_attributes_) sec_attributes_ = g_new0(SECURITY_ATTRIBUTES, 1);
-
+
sec_attributes_->nLength = sizeof(SECURITY_ATTRIBUTES);
sec_attributes_->lpSecurityDescriptor = g_new0(SECURITY_DESCRIPTOR, 1);
sec_attributes_->bInheritHandle = TRUE;
@@ -634,7 +634,7 @@ void create_app_running_mutex() {
sa = sec_attributes_;
}
}
-
+
if (!sa) {
g_free(sec_attributes_->lpSecurityDescriptor);
g_free(sec_attributes_);