diff options
author | Avuton Olrich <avuton@gmail.com> | 2006-07-14 18:47:55 +0000 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2006-07-14 18:47:55 +0000 |
commit | e39289a9878864a48e7b877fd49b56a76c43f1e8 (patch) | |
tree | 7501f637809634cc505fd7d7f6a5027fa2594a47 /src/interface.c | |
parent | f965b403eadbab9893b3b9d9b8cb2d430dbbe0d7 (diff) | |
download | mpd-e39289a9878864a48e7b877fd49b56a76c43f1e8.tar.gz mpd-e39289a9878864a48e7b877fd49b56a76c43f1e8.tar.xz mpd-e39289a9878864a48e7b877fd49b56a76c43f1e8.zip |
[CLEANUP] Remove unnecessary includes, static
functions that don't need to be exported, rename
misspelled function
git-svn-id: https://svn.musicpd.org/mpd/trunk@4325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interface.c b/src/interface.c index b961721cb..7d29fbe74 100644 --- a/src/interface.c +++ b/src/interface.c @@ -202,7 +202,7 @@ void openAInterface(int fd, struct sockaddr * addr) { } } -static int proccessLineOfInput(Interface * interface) { +static int processLineOfInput(Interface * interface) { int ret = 1; char * line = interface->buffer+interface->bufferPos; @@ -216,7 +216,7 @@ static int proccessLineOfInput(Interface * interface) { if(strcmp(line, INTERFACE_LIST_MODE_END)==0) { DEBUG("interface %i: process command " "list\n",interface->num); - ret = proccessListOfCommands( + ret = processListOfCommands( interface->fp, &(interface->permission), &(interface->expired), @@ -303,7 +303,7 @@ static int processBytesRead(Interface * interface, int bytesRead) { bytesRead--; if(interface->buffer[interface->bufferLength-1]=='\n') { interface->buffer[interface->bufferLength-1] = '\0'; - ret = proccessLineOfInput(interface); + ret = processLineOfInput(interface); interface->bufferPos = interface->bufferLength; } if(interface->bufferLength==INTERFACE_MAX_BUFFER_LENGTH) |