]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Initialize parkingtime to DEFAULT_PARK_TIME instead of 0
authorTerry Wilson <twilson@digium.com>
Wed, 11 Jun 2008 21:38:40 +0000 (21:38 +0000)
committerTerry Wilson <twilson@digium.com>
Wed, 11 Jun 2008 21:38:40 +0000 (21:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121955 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/features.c

index 4b281bf8657b04a57cc0dd77be464f452ee9d01e..3c66769e6358e272d93dbc7f9e74e82f89ead306 100644 (file)
@@ -3001,7 +3001,7 @@ static int load_config(void)
                        default_parkinglot->parking_stop = 750;
                        default_parkinglot->parking_offset = 0;
                        default_parkinglot->parkfindnext = 0;
-                       default_parkinglot->parkingtime = 0;
+                       default_parkinglot->parkingtime = DEFAULT_PARK_TIME;
                        ao2_unlock(default_parkinglot);
                }
        }