Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv28650/apps

Modified Files:
        app_externalivr.c 
Log Message:
fix bug


Index: app_externalivr.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_externalivr.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- app_externalivr.c   10 Aug 2005 23:24:39 -0000      1.1
+++ app_externalivr.c   11 Aug 2005 18:34:03 -0000      1.2
@@ -390,8 +390,8 @@
                                        u->list_cleared = 1;
                                        entry = make_entry(&input[2]);
                                        if (entry)
-                                               AST_LIST_UNLOCK(&u->playlist);
-                                       AST_LIST_INSERT_TAIL(&u->playlist, 
entry, list);
+                                               
AST_LIST_INSERT_TAIL(&u->playlist, entry, list);
+                                       AST_LIST_UNLOCK(&u->playlist);
                                } else if (input[0] == 'A') {
                                        if (ast_fileexists(&input[2], NULL, 
NULL) == -1) {
                                                fprintf(child_events, 
"Z,%10ld\n", time(NULL));

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to