aboutsummaryrefslogtreecommitdiffstats
path: root/asterisk.c
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-03 00:05:00 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-03 00:05:00 +0000
commit15053dac45e009b1474e6619333ae1039ee0afcf (patch)
treeacafcc5fea59091c06f6b16d3626a834b9965cd5 /asterisk.c
parent1a7e009b1b817f1e14341c15e92864ed45f31d57 (diff)
Fix typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2308 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'asterisk.c')
-rwxr-xr-xasterisk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asterisk.c b/asterisk.c
index 0f583e0ca..ac2b503c4 100755
--- a/asterisk.c
+++ b/asterisk.c
@@ -257,14 +257,14 @@ static void *listener(void *unused)
FD_SET(ast_socket, &fds);
s = ast_select(ast_socket + 1, &fds, NULL, NULL, NULL);
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;
}
len = sizeof(sun);
s = accept(ast_socket, (struct sockaddr *)&sun, &len);
if (s < 0) {
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 {
for (x=0;x<AST_MAX_CONNECTS;x++) {
if (consoles[x].fd < 0) {