diff src/audtool/audtool_handlers_vitals.c @ 3873:f3341c2d6b9e

audacious remote functions: - playlist_ins_url_string() and playlist_enqueue_to_temp() have been implemented. - now get_version() returns audacious version instead of protocol version. audtool: - now argc check works properly. - some cleanups.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Tue, 30 Oct 2007 22:12:47 +0900
parents 964413953abd
children 1792ab581321
line wrap: on
line diff
--- a/src/audtool/audtool_handlers_vitals.c	Tue Oct 30 18:17:55 2007 +0900
+++ b/src/audtool/audtool_handlers_vitals.c	Tue Oct 30 22:12:47 2007 +0900
@@ -171,7 +171,7 @@
 		audtool_whine("       track_name, track_number, year, date, genre, comment,");
 		audtool_whine("       file_name, file_ext, file_path, length, formatter,");
 		audtool_whine("       custom, mtime");
-		return;
+		exit(1);
 	}
 
 	if (!(data = audacious_get_tuple_field_data(dbus_proxy, argv[1], audacious_remote_get_playlist_pos(dbus_proxy))))