freeswitch plugin: Removed some more unnecessary cruft
authorLeon de Rooij <leon@scarlet-internet.nl>
Tue, 28 Apr 2009 08:43:20 +0000 (10:43 +0200)
committerFlorian Forster <sifnfors@informatik.stud.uni-erlangen.de>
Thu, 16 Jul 2009 08:55:24 +0000 (10:55 +0200)
src/freeswitch.c

index c5277e4..b483ad3 100644 (file)
@@ -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;     // sizeof(*buffer)
+       size_t buffer_size;     // strlen(*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)
                {