Merged revisions 304250 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Wed, 26 Jan 2011 21:03:44 +0000 (21:03 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 26 Jan 2011 21:03:44 +0000 (21:03 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r304250 | mmichelson | 2011-01-26 15:02:10 -0600 (Wed, 26 Jan 2011) | 9 lines

  Merged revisions 304242 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r304242 | mmichelson | 2011-01-26 14:38:37 -0600 (Wed, 26 Jan 2011) | 3 lines

    Get rid of unused 'verbose' field in ast_udptl
  ........
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@304252 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/udptl.c

index 6fbf378..1845ca8 100644 (file)
@@ -170,8 +170,6 @@ struct ast_udptl {
         */
        int local_max_ifp;
 
-       int verbose;
-
        unsigned int tx_seq_no;
        unsigned int rx_seq_no;
        unsigned int rx_expected_seq_no;
@@ -631,9 +629,6 @@ static int udptl_build_packet(struct ast_udptl *s, uint8_t *buf, unsigned int bu
                break;
        }
 
-       if (s->verbose)
-               fprintf(stderr, "\n");
-
        s->tx_seq_no++;
        return len;
 }