Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
7619b530
Commit
7619b530
authored
Oct 21, 2012
by
Davis King
Browse files
Improved an error message
parent
122e8fe1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/sockets/sockets_extensions.cpp
dlib/sockets/sockets_extensions.cpp
+1
-1
No files found.
dlib/sockets/sockets_extensions.cpp
View file @
7619b530
...
@@ -27,7 +27,7 @@ namespace dlib
...
@@ -27,7 +27,7 @@ namespace dlib
std
::
istringstream
sin
(
full_address
);
std
::
istringstream
sin
(
full_address
);
sin
>>
*
this
;
sin
>>
*
this
;
if
(
!
sin
)
if
(
!
sin
)
throw
invalid_network_address
(
full_address
);
throw
invalid_network_address
(
"invalid network address: "
+
full_address
);
}
}
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
...
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