Fixing trunk in a way so that it compiles again.
authorOlle Johansson <oej@edvina.net>
Fri, 13 Nov 2009 10:53:14 +0000 (10:53 +0000)
committerOlle Johansson <oej@edvina.net>
Fri, 13 Nov 2009 10:53:14 +0000 (10:53 +0000)
Thanks, Philippe :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@229871 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/loader.c

index 198ebc9..8c0067d 100644 (file)
@@ -853,8 +853,7 @@ static struct load_order_entry *add_to_load_order(const char *resource, struct l
                if (!resource_name_match(order->resource, resource)) {
                        /* Make sure we have the proper setting for the required field 
                           (we might have both load= and required= lines in modules.conf) */
-                               order->required |= required;
-                       }
+                       order->required |= required;
                        return NULL;
                }
        }