summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>1999-12-11 20:09:45 +0000
committerMark Spencer <markster@digium.com>1999-12-11 20:09:45 +0000
commit42d4c7991cc648294965070cc0f053a4611408e1 (patch)
treebb6f591206d4f084be79aa7a13122fde495ccbed /file.c
parent615a54d821f11f1da950b3756b3d80f86f88028d (diff)
Version 0.1.1 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'file.c')
-rwxr-xr-xfile.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/file.c b/file.c
index 9ee50c560..be82f9152 100755
--- a/file.c
+++ b/file.c
@@ -3,7 +3,7 @@
*
* Generic File Format Support.
*
- * Copyright (C) 1999, Adtran Inc. and Linux Support Services, LLC
+ * Copyright (C) 1999, Mark Spencer
*
* Mark Spencer <markster@linux-support.net>
*
@@ -168,7 +168,6 @@ int ast_writestream(struct ast_filestream *fs, struct ast_frame *f)
{
struct ast_frame_chain *fc, *f2;
int res = -1;
- int count=0;
if (f->frametype != AST_FRAME_VOICE) {
ast_log(LOG_WARNING, "Tried to write non-voice frame\n");
return -1;
@@ -193,9 +192,6 @@ int ast_writestream(struct ast_filestream *fs, struct ast_frame *f)
break;
}
f2 = f2->next;
- count++;
- if (count > 1)
- ast_log(LOG_DEBUG, "Count is %d\n", count);
}
if (fc)
ast_frchain(fc);