]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
vg default on windows, not otherwise.
authorMichael Jerris <mike@jerris.com>
Tue, 6 Feb 2007 19:20:39 +0000 (19:20 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 6 Feb 2007 19:20:39 +0000 (19:20 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4139 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch.c

index 0b0ec561c2466fee2d2f3bae8cee73df1e6a0448..6de0918aa0ef2036a8e9cfefdb081d434f75a9f0 100644 (file)
@@ -198,9 +198,9 @@ int main(int argc, char *argv[])
        const char *err = NULL;         // error value for return from freeswitch initialization
 #ifndef WIN32
        int nf = 0;                                     // TRUE if we are running in nofork mode
-       int vg = 1;                                     // Allways TRUE on windows to not do apr_terminate
+       int vg = 0;                                     // Allways TRUE on windows to not do apr_terminate
 #else
-       int vg = 0;                                     // TRUE if we are running in vg mode
+       int vg = 1;                                     // TRUE if we are running in vg mode
 #endif
        int nc = 0;                                     // TRUE if we are running in noconsole mode
        FILE *f;                                        // file handle to the pid file