blob: abb385873b70ba026258ea03c4ee63e055b353e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ab,v 1.4 2005/06/14 01:34:54 kristerw Exp $
--- src/command.c.orig Tue Jun 14 03:30:30 2005
+++ src/command.c Tue Jun 14 03:32:26 2005
@@ -183,10 +183,11 @@
int cmd_crop( int argc, char ** argv, mpd_Connection * conn )
{
+ int length;
mpd_Status *status;
status = getStatus( conn );
- int length = ( status->playlistLength - 1 );
+ length = ( status->playlistLength - 1 );
if( status->playlistLength == 0 ) {
|