Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
5804cdf0
Commit
5804cdf0
authored
Jul 06, 2015
by
Ghislain MARY
Browse files
Various fixes.
parent
6d05e428
Changes
3
Hide whitespace changes
Inline
Side-by-side
build/windows10/belle-sip-tester/belle-sip-tester/Package.appxmanifest
View file @
5804cdf0
...
...
@@ -4,7 +4,7 @@
<mp:PhoneIdentity
PhoneProductId=
"c6108770-1859-484a-b353-cd502001986d"
PhonePublisherId=
"00000000-0000-0000-0000-000000000000"
/>
<Properties>
<DisplayName>
belle-sip-tester
</DisplayName>
<PublisherDisplayName>
Ghislain
</PublisherDisplayName>
<PublisherDisplayName>
Belledonne Communications
</PublisherDisplayName>
<Logo>
Assets\Logo.png
</Logo>
</Properties>
<Dependencies>
...
...
tester/belle_sip_tester.c
View file @
5804cdf0
...
...
@@ -110,6 +110,9 @@ void belle_sip_tester_uninit(void) {
bc_tester_uninit
();
}
#if !defined(ANDROID) && !defined(TARGET_OS_IPHONE) && !(defined(BELLE_SIP_WINDOWS_PHONE) || defined(BELLE_SIP_WINDOWS_UNIVERSAL))
static
const
char
*
belle_sip_helper
=
"
\t\t\t
--verbose
\n
"
"
\t\t\t
--silent
\n
"
...
...
@@ -118,8 +121,6 @@ static const char* belle_sip_helper =
"
\t\t\t
--auth-domain <test auth domain>
\n
"
"
\t\t\t
--root-ca <root ca file path>
\n
"
;
#if !defined(ANDROID) && !defined(TARGET_OS_IPHONE) && !(defined(BELLE_SIP_WINDOWS_PHONE) || defined(BELLE_SIP_WINDOWS_UNIVERSAL))
int
main
(
int
argc
,
char
*
argv
[])
{
int
i
;
int
ret
;
...
...
tester/belle_sip_tester_windows.cpp
View file @
5804cdf0
...
...
@@ -8,7 +8,7 @@ using namespace Windows::Foundation;
using
namespace
Windows
::
Storage
;
using
namespace
Windows
::
System
::
Threading
;
#define MAX_TRACE_SIZE
512
#define MAX_TRACE_SIZE
2048
#define MAX_SUITE_NAME_SIZE 128
#define MAX_WRITABLE_DIR_SIZE 1024
...
...
@@ -24,7 +24,7 @@ static void nativeOutputTraceHandler(int lev, const char *fmt, va_list args)
std
::
string
str
;
str
.
resize
(
MAX_TRACE_SIZE
);
vsnprintf
((
char
*
)
str
.
c_str
(),
MAX_TRACE_SIZE
,
fmt
,
args
);
mbstowcs
(
wstr
,
str
.
c_str
(),
sizeof
(
wstr
)
);
mbstowcs
(
wstr
,
str
.
c_str
(),
MAX_TRACE_SIZE
-
1
);
String
^
msg
=
ref
new
String
(
wstr
);
String
^
l
;
switch
(
lev
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment