Skip to content
Snippets Groups Projects
Commit 22b56f13 authored by James Golovich's avatar James Golovich
Browse files

Fix typo

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 6d799e9f
Branches
Tags
No related merge requests found
...@@ -257,14 +257,14 @@ static void *listener(void *unused) ...@@ -257,14 +257,14 @@ static void *listener(void *unused)
FD_SET(ast_socket, &fds); FD_SET(ast_socket, &fds);
s = ast_select(ast_socket + 1, &fds, NULL, NULL, NULL); s = ast_select(ast_socket + 1, &fds, NULL, NULL, NULL);
if (s < 0) { if (s < 0) {
ast_log(LOG_WARNING, "Select retured error: %s\n", strerror(errno)); ast_log(LOG_WARNING, "Select returned error: %s\n", strerror(errno));
continue; continue;
} }
len = sizeof(sun); len = sizeof(sun);
s = accept(ast_socket, (struct sockaddr *)&sun, &len); s = accept(ast_socket, (struct sockaddr *)&sun, &len);
if (s < 0) { if (s < 0) {
if (errno != EINTR) if (errno != EINTR)
ast_log(LOG_WARNING, "Accept retured %d: %s\n", s, strerror(errno)); ast_log(LOG_WARNING, "Accept returned %d: %s\n", s, strerror(errno));
} else { } else {
for (x=0;x<AST_MAX_CONNECTS;x++) { for (x=0;x<AST_MAX_CONNECTS;x++) {
if (consoles[x].fd < 0) { if (consoles[x].fd < 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment