[Rt-commit] rt branch, 4.2/test-mailgate-return, repushed
Alex Vandiver
alexmv at bestpractical.com
Thu Apr 17 15:25:12 EDT 2014
The branch 4.2/test-mailgate-return was deleted and repushed:
was 32a342023e3888d60699aedfc52bd06a55f56ead
now 8da874c94ee5be8c93b510be545a537ce5d38633
1: 32a3420 ! 1: 8da874c send_via_mailgate's return should act like send_via_mailgate_and_http
@@ -23,7 +23,9 @@
+
+ # Invert the status to act like a syscall; failing return code is 1,
+ # and it will be right-shifted before being examined.
-+ $status = ($status == 1) ? 0 : 1 << 8;
++ $status = ($status == 1) ? 0
++ : ($status == -75) ? (-75 << 8)
++ : (1 << 8);
+
return ( $status, $ticket ? $ticket->id : 0 );
More information about the rt-commit
mailing list