* [gentoo-commits] gentoo-x86 commit in media-libs/libmpd/files: libmpd-0.15.0-remove-new-parameter.patch
@ 2008-08-21 19:50 Christoph Mende (angelos)
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Mende (angelos) @ 2008-08-21 19:50 UTC (permalink / raw
To: gentoo-commits
angelos 08/08/21 19:50:43
Added: libmpd-0.15.0-remove-new-parameter.patch
Log:
Fix for bug 233582
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64)
Revision Changes Path
1.1 media-libs/libmpd/files/libmpd-0.15.0-remove-new-parameter.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libmpd/files/libmpd-0.15.0-remove-new-parameter.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libmpd/files/libmpd-0.15.0-remove-new-parameter.patch?rev=1.1&content-type=text/plain
Index: libmpd-0.15.0-remove-new-parameter.patch
===================================================================
From: Qball Cow <qball@QDesk.site>
Date: Wed, 30 Jul 2008 19:05:48 +0000 (+0200)
Subject: removing new as parameter
X-Git-Url: http://repo.or.cz/w/libmpd.git?a=commitdiff_plain;h=9ff13b4ef0e250a18a2b5231dcb22791704808a5;hp=79fea3d08b05f6fe90441c38441279629fc50df8
removing new as parameter
---
diff --git a/src/libmpd-database.c b/src/libmpd-database.c
index ebfa92e..e91478e 100644
--- a/src/libmpd-database.c
+++ b/src/libmpd-database.c
@@ -1001,9 +1001,9 @@ MpdData * mpd_database_get_directory_recursive(MpdObj *mi, const char *path)
}
return mpd_data_get_first(data);
}
-void mpd_database_playlist_rename(MpdObj *mi, const char *old, const char *new)
+void mpd_database_playlist_rename(MpdObj *mi, const char *old_name, const char *new_name)
{
- if(!new || !old)
+ if(!new_name || !old_name)
{
debug_printf(DEBUG_ERROR, "old != NULL && new != NULL failed");
return;
@@ -1021,7 +1021,7 @@ void mpd_database_playlist_rename(MpdObj *mi, const char *old, const char *new)
return ;
}
- mpd_sendRenameCommand(mi->connection, (char *)old,(char *)new);
+ mpd_sendRenameCommand(mi->connection, (char *)old_name,(char *)new_name);
mpd_finishCommand(mi->connection);
mpd_unlock_conn(mi);
diff --git a/src/libmpd-database.h b/src/libmpd-database.h
index 6c37394..66f2e71 100644
--- a/src/libmpd-database.h
+++ b/src/libmpd-database.h
@@ -311,7 +311,7 @@ void mpd_database_playlist_clear(MpdObj *mi,const char *path);
* Renames a stored playlist
* Needs mpd 0.13.0
*/
-void mpd_database_playlist_rename(MpdObj *mi, const char *old, const char *new);
+void mpd_database_playlist_rename(MpdObj *mi, const char *old_name, const char *new_name);
/**
* @param mi a #MpdObj
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in media-libs/libmpd/files: libmpd-0.15.0-remove-new-parameter.patch
@ 2009-08-21 19:40 Samuli Suominen (ssuominen)
0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2009-08-21 19:40 UTC (permalink / raw
To: gentoo-commits
ssuominen 09/08/21 19:40:37
Removed: libmpd-0.15.0-remove-new-parameter.patch
Log:
old
(Portage version: 2.2_rc38/cvs/Linux x86_64)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-21 19:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-21 19:40 [gentoo-commits] gentoo-x86 commit in media-libs/libmpd/files: libmpd-0.15.0-remove-new-parameter.patch Samuli Suominen (ssuominen)
-- strict thread matches above, loose matches on Subject: below --
2008-08-21 19:50 Christoph Mende (angelos)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox