projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f6df5f
)
freeswitch plugin: Removed some more unnecessary cruft
author
Leon de Rooij
<leon@scarlet-internet.nl>
Tue, 28 Apr 2009 08:43:20 +0000
(10:43 +0200)
committer
Florian Forster
<sifnfors@informatik.stud.uni-erlangen.de>
Thu, 16 Jul 2009 08:55:24 +0000
(10:55 +0200)
src/freeswitch.c
patch
|
blob
|
history
diff --git
a/src/freeswitch.c
b/src/freeswitch.c
index
c5277e4
..
b483ad3
100644
(file)
--- a/
src/freeswitch.c
+++ b/
src/freeswitch.c
@@
-69,7
+69,7
@@
struct fs_command_s
char *line; // "api sofia status profile res-public"
char *instance; // "profile-sofia-res-public"
char *buffer; // <output from esl command as a char*>
- size_t buffer_size; // s
izeof(*buffer)
+ size_t buffer_size; // s
trlen(*buffer)+3
size_t buffer_fill; // 0 or 1
fs_match_t *matches;
fs_command_t *next;
@@
-445,10
+445,6
@@
static int fs_read_command (fs_command_t *fc)
{
cu_match_value_t *mv;
-printf("BUFFER SIZE = %lu\n", fc->buffer_size);
-
-printf("### Trying match\n");
-
status = match_apply (fm->match, fc->buffer);
if (status != 0)
{