diff options
author | Henri Herscher <henri@oreka.org> | 2007-09-13 02:10:16 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2007-09-13 02:10:16 +0000 |
commit | b43754b7c36a3113c39eb3cb86c5d138d80598c4 (patch) | |
tree | 279f10952f704b2043e08e669f4c4e098d95ff6e /orkaudio/audiocaptureplugins/voip/VoIp.cpp | |
parent | 46a0111110d120ba3f3b5dfc4394ff21c122d5b1 (diff) |
Fixed win32 compilation error.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@490 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/audiocaptureplugins/voip/VoIp.cpp')
-rw-r--r-- | orkaudio/audiocaptureplugins/voip/VoIp.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/orkaudio/audiocaptureplugins/voip/VoIp.cpp b/orkaudio/audiocaptureplugins/voip/VoIp.cpp index 58d7298..013a79a 100644 --- a/orkaudio/audiocaptureplugins/voip/VoIp.cpp +++ b/orkaudio/audiocaptureplugins/voip/VoIp.cpp @@ -236,13 +236,9 @@ char* GrabLine(char* start, char* limit, CStdString& out) // Grabs a line of characters in memory skipping any leading // whitespaces. This is intended for use in the case of SIP // headers, ref RFC 3261, section 7.3.1 -char* GrabLineSkipLeadingWhitespace(char* start, char* limit, CStdString& out) +void GrabLineSkipLeadingWhitespace(char* start, char* limit, CStdString& out) { - char* c = start; - while(*c == 0x20 && (*c != '\0' && *c != 0x0D && *c != 0x0A) && c<limit) - { - c = c+1; - } + char* c = SkipWhitespaces(start, limit); GrabLine(c, limit, out); } |