diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-08-20 10:13:54 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-08-20 10:13:54 +0000 |
commit | ee223bf02b207d84cfbbccc614420fa14e1b3608 (patch) | |
tree | 19056e4d7b9d76ca2cbc709f4797d9b0aa03500d /src/audioOutputs | |
parent | f8b07de3d4deb4e11a2e803c7719d4d026524306 (diff) | |
download | mpd-ee223bf02b207d84cfbbccc614420fa14e1b3608.tar.gz mpd-ee223bf02b207d84cfbbccc614420fa14e1b3608.tar.xz mpd-ee223bf02b207d84cfbbccc614420fa14e1b3608.zip |
trivial: labels should be on the left-most column, no tabbing
Unfortunately there doesn't seem to be an indent switch for this,
but we have find + perl:
find src -name '*.[ch]' | xargs perl -i -p -e \
's/^\s+(\w+):/$1:/g unless /^\s+default:/'
This is a followup to r4605, and there are no actual code
changes in this.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4661 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/audioOutputs/audioOutput_alsa.c | 4 | ||||
-rw-r--r-- | src/audioOutputs/audioOutput_oss.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/audioOutputs/audioOutput_alsa.c b/src/audioOutputs/audioOutput_alsa.c index 9aefb4be8..31601b37c 100644 --- a/src/audioOutputs/audioOutput_alsa.c +++ b/src/audioOutputs/audioOutput_alsa.c @@ -312,7 +312,7 @@ configure_hw: return 0; - error: +error: if (cmd) { ERROR("Error opening alsa device \"%s\" (%s): %s\n", ad->device, cmd, snd_strerror(-err)); @@ -320,7 +320,7 @@ configure_hw: ERROR("Error opening alsa device \"%s\": %s\n", ad->device, snd_strerror(-err)); } - fail: +fail: if (ad->pcmHandle) snd_pcm_close(ad->pcmHandle); ad->pcmHandle = NULL; diff --git a/src/audioOutputs/audioOutput_oss.c b/src/audioOutputs/audioOutput_oss.c index d85dfd192..af6cd5dcf 100644 --- a/src/audioOutputs/audioOutput_oss.c +++ b/src/audioOutputs/audioOutput_oss.c @@ -487,7 +487,7 @@ static int oss_open(AudioOutput * audioOutput) return 0; - fail: +fail: oss_close(od); audioOutput->open = 0; return -1; |