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 4b281bf..3c66769 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);
                }
        }