Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
7f5726e7
Commit
7f5726e7
authored
Mar 25, 2016
by
Nate Weibley
Browse files
Check for socket nullptr in UDPLink::writeBytes
parent
1d0bf627
Changes
1
Show whitespace changes
Inline
Side-by-side
src/comm/UDPLink.cc
View file @
7f5726e7
...
...
@@ -149,6 +149,9 @@ void UDPLink::removeHost(const QString& host)
void
UDPLink
::
writeBytes
(
const
QByteArray
data
)
{
if
(
!
_socket
)
return
;
QStringList
goneHosts
;
// Send to all connected systems
QString
host
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment