Fixed missing timestamp increment in RTP transmission.

git-svn-id: http://voip.null.ro/svn/yate@241 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2005-02-03 22:49:16 +00:00
parent 95f6297f55
commit 1963c47d3e
1 changed files with 13 additions and 1 deletions

View File

@ -6,9 +6,21 @@
#include <stdio.h>
class NAPTR : public GenObject
{
private:
int m_order;
int m_pref;
String m_flags;
String m_service;
Regexp m_regexp;
String m_replace;
}
unsigned char buf[2048];
int dn_string(const unsigned char* end, const unsigned char* src, char *dest, int maxlen)
// copy one string (not domain) from response
static int dn_string(const unsigned char* end, const unsigned char* src, char *dest, int maxlen)
{
int n = src[0];
maxlen--;