ALT Linux repos
Group :: Sound
RPM: moc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: moc-2.5.0-alpha1-on-change-fix.patch
Download
Download
diff --git moc/server.c moc/server.c
index f2e15fc..58e0c44 100644
--- moc/server.c
+++ moc/server.c
@@ -395,7 +395,7 @@ void on_song_change()
return;
curr_file = audio_get_sname();
- command = strdup(options_get_str("OnSongChange"));
+ command = xstrdup(options_get_str("OnSongChange"));
if((command)&&(curr_file) &&
((!last_file) || (strcmp(last_file,curr_file)))) {