aboutsummaryrefslogtreecommitdiffstats
path: root/src/interface.c
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-20 18:53:56 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-20 18:53:56 +0000
commit00e67be7c98cedf3ea60c10d4a527f30cdfa473c (patch)
tree969f972985004c49530b1f4ca6f9782cb3b2acac /src/interface.c
parent29a25b9933b32800f58dd73d5d1fc21993071c92 (diff)
downloadmpd-00e67be7c98cedf3ea60c10d4a527f30cdfa473c.tar.gz
mpd-00e67be7c98cedf3ea60c10d4a527f30cdfa473c.tar.xz
mpd-00e67be7c98cedf3ea60c10d4a527f30cdfa473c.zip
Add mpd-indent.sh
Add a few new options for indent to try to make things a bit cleaner git-svn-id: https://svn.musicpd.org/mpd/trunk@4411 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/interface.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/interface.c b/src/interface.c
index af669f89e..dbec9b8a9 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -65,9 +65,9 @@ typedef struct _Interface {
char buffer[INTERFACE_MAX_BUFFER_LENGTH];
int bufferLength;
int bufferPos;
- int fd; /* file descriptor */
- FILE *fp; /* file pointer */
- int open; /* open/used */
+ int fd; /* file descriptor */
+ FILE *fp; /* file pointer */
+ int open; /* open/used */
int permission;
time_t lastTime;
List *commandList; /* for when in list mode */
@@ -75,9 +75,9 @@ typedef struct _Interface {
size_t commandListSize; /* mem commandList consumes */
List *bufferList; /* for output if client is slow */
size_t outputBufferSize; /* mem bufferList consumes */
- int expired; /* set whether this interface should be closed on next
- check of old interfaces */
- int num; /* interface number */
+ int expired; /* set whether this interface should be closed on next
+ check of old interfaces */
+ int num; /* interface number */
char *outBuffer;
int outBuflen;
int outBufSize;