[svn-commits] oej: branch group/pinequeue r295786 - /team/group/pinequeue/main/file.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Nov 22 04:07:01 CST 2010


Author: oej
Date: Mon Nov 22 04:06:56 2010
New Revision: 295786

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=295786
Log:
Make module compile without DAHDI

Modified:
    team/group/pinequeue/main/file.c

Modified: team/group/pinequeue/main/file.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pinequeue/main/file.c?view=diff&rev=295786&r1=295785&r2=295786
==============================================================================
--- team/group/pinequeue/main/file.c (original)
+++ team/group/pinequeue/main/file.c Mon Nov 22 04:06:56 2010
@@ -789,7 +789,9 @@
 			ast_log(LOG_ERROR,"About to call ast_sched_add  with %d for ast_fsread_audio\n", whennext / (ast_format_rate(s->fmt->format) / 1000));
 			s->owner->streamid = ast_sched_add(s->owner->sched, 
 				whennext / (ast_format_rate(s->fmt->format) / 1000), ast_fsread_audio, s);
-		}
+#ifdef HAVE_DAHDI
+		}
+#endif		
 		s->lasttimeout = whennext;
 		return FSREAD_SUCCESS_NOSCHED;
 	}




More information about the svn-commits mailing list