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

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Jan 31 10:02:20 MST 2007


Author: kpfleming
Date: Wed Jan 31 11:02:19 2007
New Revision: 2054

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2054
Log:
there are two reasons we could exit this loop...

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=2054&r1=2053&r2=2054
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/zttranscode.c (original)
+++ team/mogorman/zaptel-1.2-transcoder/zttranscode.c Wed Jan 31 11:02:19 2007
@@ -320,7 +320,7 @@
 	}
 	spin_unlock(&translock);
 
-	if (!tc)
+	if (x && !tc)
 		return -ENOSYS;
 
 	strncpy(info.name, tc->name, sizeof(info.name) - 1);



More information about the svn-commits mailing list