From e39289a9878864a48e7b877fd49b56a76c43f1e8 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Fri, 14 Jul 2006 18:47:55 +0000 Subject: [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 --- src/interface.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/interface.c') 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) -- cgit v1.2.3