]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
windows line endings.
authorMichael Jerris <mike@jerris.com>
Sat, 19 Aug 2006 19:00:35 +0000 (19:00 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 19 Aug 2006 19:00:35 +0000 (19:00 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2337 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch.c

index 985535cd8e9fdaccfbf781034184f84b420584b3..3966f5f9ee9acd9111f62d63101063606b584f0c 100644 (file)
@@ -96,14 +96,14 @@ static int freeswitch_kill_background()
                fprintf(stderr, "Killing: %d\n", (int) pid);
 #ifdef WIN32
                snprintf(path, sizeof(path), "Global\\Freeswitch.%d", pid);
-               shutdown_event = OpenEvent(EVENT_MODIFY_STATE, FALSE, path);\r
-               if (!shutdown_event) {\r
-                       /* we can't get the event, so we can't signal the process to shutdown */\r
+               shutdown_event = OpenEvent(EVENT_MODIFY_STATE, FALSE, path);
+               if (!shutdown_event) {
+                       /* we can't get the event, so we can't signal the process to shutdown */
                        fprintf(stderr, "ERROR: Can't Shutdown: %d\n", (int) pid);
-               } else {\r
-                       SetEvent(shutdown_event);\r
-               }\r
-               CloseHandle(shutdown_event);\r
+               } else {
+                       SetEvent(shutdown_event);
+               }
+               CloseHandle(shutdown_event);
 #else
                kill(pid, SIGTERM);
 #endif