Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
d399253c
Commit
d399253c
authored
Jul 5, 2011
by
Rafaël Carré
Browse files
Options
Downloads
Patches
Plain Diff
IAX: fix warnings
(cherry picked from commit
fd7a113a
)
parent
709608a5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
sflphone-common/libs/iax2/iax-client.h
+1
-1
1 addition, 1 deletion
sflphone-common/libs/iax2/iax-client.h
sflphone-common/libs/iax2/iax.c
+1
-2
1 addition, 2 deletions
sflphone-common/libs/iax2/iax.c
sflphone-common/libs/iax2/md5.c
+1
-1
1 addition, 1 deletion
sflphone-common/libs/iax2/md5.c
with
3 additions
and
4 deletions
sflphone-common/libs/iax2/iax-client.h
+
1
−
1
View file @
d399253c
...
...
@@ -19,7 +19,7 @@
#pragma warning(disable:4200)
#endif
#ifndef
LINUX
#ifndef
__linux__
#define socklen_t int
#endif
...
...
This diff is collapsed.
Click to expand it.
sflphone-common/libs/iax2/iax.c
+
1
−
2
View file @
d399253c
...
...
@@ -878,7 +878,6 @@ int iax_init(int preferredportno)
{
struct
sockaddr_in
sin
;
socklen_t
sinlen
;
socklen_t
*
slen
=
&
sinlen
;
int
flags
;
int
bufsize
=
256
*
1024
;
...
...
@@ -929,7 +928,7 @@ int iax_init(int preferredportno)
}
sinlen
=
sizeof
(
sin
);
if
(
getsockname
(
netfd
,
(
struct
sockaddr
*
)
&
sin
,
s
len
)
<
0
)
if
(
getsockname
(
netfd
,
(
struct
sockaddr
*
)
&
sin
,
&
sin
len
)
<
0
)
{
close
(
netfd
);
netfd
=
-
1
;
...
...
This diff is collapsed.
Click to expand it.
sflphone-common/libs/iax2/md5.c
+
1
−
1
View file @
d399253c
...
...
@@ -3,7 +3,7 @@
#ifdef FREEBSD
# include <machine/endian.h>
#elif defined(
LINUX)
#elif defined(
__linux__)
# include <endian.h>
# include <features.h>
# include <sys/types.h>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment