This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
rtpengine
mirror of
https://github.com/sipwise/rtpengine
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
822
Wiki
Activity
Browse Source
fix warning about possible null string
closes
#977
Change-Id: I4dec339289cb36402eef6bca39bb7af31ee17ef0
changes/08/39708/1
Richard Fuchs
6 years ago
parent
cca6ba70c7
commit
e516db2c30
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/socket.h
+ 1
- 1
lib/socket.h
View File
@ -119,7 +119,7 @@ INLINE char *sockaddr_print_buf(const sockaddr_t *a) {
char
*
buf
=
get_thread_buf
(
)
;
if
(
!
a
-
>
family
)
{
buf
[
0
]
=
'
\0
'
;
return
0
;
return
buf
;
}
sockaddr_print
(
a
,
buf
,
THREAD_BUF_SIZE
)
;
return
buf
;
Write
Preview
Loading…
Cancel
Save