[zaptel-commits] kpfleming: branch mogorman/zaptel-1.2-transcoder r2055 - /team/mogorman/zapte...

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Wed Jan 31 10:05:01 MST 2007


Author: kpfleming
Date: Wed Jan 31 11:05:00 2007
New Revision: 2055

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2055
Log:
the proper logic test might help

Modified:
    team/mogorman/zaptel-1.2-transcoder/zttranscode.c

Modified: team/mogorman/zaptel-1.2-transcoder/zttranscode.c
URL: http://svn.digium.com/view/zaptel/team/mogorman/zaptel-1.2-transcoder/zttranscode.c?view=diff&rev=2055&r1=2054&r2=2055
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/zttranscode.c (original)
+++ team/mogorman/zaptel-1.2-transcoder/zttranscode.c Wed Jan 31 11:05:00 2007
@@ -320,7 +320,7 @@
 	}
 	spin_unlock(&translock);
 
-	if (x && !tc)
+	if (x || !tc)
 		return -ENOSYS;
 
 	strncpy(info.name, tc->name, sizeof(info.name) - 1);



More information about the zaptel-commits mailing list