Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv13490

Modified Files:
      Tag: v1-0
        rtp.c 
Log Message:
oops, I wasn't done with this


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.92.2.11
retrieving revision 1.92.2.12
diff -u -d -r1.92.2.11 -r1.92.2.12
--- rtp.c       12 May 2005 01:43:36 -0000      1.92.2.11
+++ rtp.c       12 May 2005 01:47:39 -0000      1.92.2.12
@@ -795,41 +795,6 @@
   return "";
 }
 
-char *ast_rtp_lookup_mime_multiple(char *buf, int size, const int capability, 
const int isAstFormat)
-{
-       int format;
-       unsigned len;
-       char *end = buf;
-       char *start = buf;
-
-       if (!buf || !size)
-               return NULL;
-
-       snprintf(end, size, "0x%x (", capability);
-
-       len = strlen(end);
-       end += len;
-       size -= len;
-       start = end;
-
-       for (format = 1; format < AST_RTP_MAX; format <<= 1) {
-               if (capability & format) {
-                       const char *name = 
ast_rtp_lookup_mime_subtype(isAstFormat, format);
-                       snprintf(end, size, "%s|", name);
-                       len = strlen(end);
-                       end += len;
-                       size -= len;
-               }
-       }
-
-       if (start == end)
-               snprintf(start, size, "nothing)"); 
-       else if (size > 1)
-               *(end -1) = ')';
-       
-       return buf;
-}
-
 static int rtp_socket(void)
 {
        int s;

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to