[svn-commits] mmichelson: branch 1.4 r100973 - /branches/1.4/apps/app_queue.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 29 13:39:01 CST 2008


Author: mmichelson
Date: Tue Jan 29 13:39:00 2008
New Revision: 100973

URL: http://svn.digium.com/view/asterisk?view=rev&rev=100973
Log:
Fixing an erroneous return value returned when attempting to pause or unpause a queue member
fails.

Fixes BE-366, thanks to John Bigelow for writing the patch.


Modified:
    branches/1.4/apps/app_queue.c

Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?view=diff&rev=100973&r1=100972&r2=100973
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Tue Jan 29 13:39:00 2008
@@ -3444,7 +3444,7 @@
 		}
 		ast_module_user_remove(lu);
 		pbx_builtin_setvar_helper(chan, "PQMSTATUS", "NOTFOUND");
-		return -1;
+		return 0;
 	}
 
 	ast_module_user_remove(lu);
@@ -3497,7 +3497,7 @@
 		}
 		ast_module_user_remove(lu);
 		pbx_builtin_setvar_helper(chan, "UPQMSTATUS", "NOTFOUND");
-		return -1;
+		return 0;
 	}
 
 	ast_module_user_remove(lu);




More information about the svn-commits mailing list