From 0b9e91229791e143d5da79f14cf7012ead9c3bc7 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Wed, 8 Aug 2012 22:25:02 +0200
Subject: player_control: rename attribute "error" to "error_type"

---
 src/playlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/playlist.c')

diff --git a/src/playlist.c b/src/playlist.c
index 6b8866941..b2cb90d2f 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -258,7 +258,7 @@ playlist_resume_playback(struct playlist *playlist, struct player_control *pc)
 	assert(playlist->playing);
 	assert(pc_get_state(pc) == PLAYER_STATE_STOP);
 
-	error = pc_get_error(pc);
+	error = pc_get_error_type(pc);
 	if (error == PLAYER_ERROR_NONE)
 		playlist->error_count = 0;
 	else
-- 
cgit v1.2.3