summaryrefslogtreecommitdiff
path: root/wsutil/file_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/file_util.c')
-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_);