LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libfreebob-test-fix.diff of Package libfreebob (Project openSUSE:Dropped)

--- tests/streaming/teststreaming3.c-dist	2007-03-26 18:24:03.000000000 +0200
+++ tests/streaming/teststreaming3.c	2007-03-26 18:24:13.000000000 +0200
@@ -164,7 +164,7 @@ int main(int argc, char *argv[])
 		fid_in[i]=fopen(name,"w");
 
 		freebob_streaming_get_capture_stream_name(dev,i,name,sizeof(name));
-		fprintf(fid_in[i], "Channel name: %s\n");
+		fprintf(fid_in[i], "Channel name: %s\n", name);
 		switch (freebob_streaming_get_capture_stream_type(dev,i)) {
 		case freebob_stream_type_audio:
 			fprintf(fid_in[i], "Channel type: audio\n");
--- tests/streaming/testmidistreaming1.c-dist	2007-03-26 18:23:32.000000000 +0200
+++ tests/streaming/testmidistreaming1.c	2007-03-26 18:23:57.000000000 +0200
@@ -251,7 +251,7 @@ int main(int argc, char *argv[])
 		fid_in[i]=fopen(name,"w");
 
 		freebob_streaming_get_capture_stream_name(dev,i,name,sizeof(name));
-		fprintf(fid_in[i], "Channel name: %s\n");
+		fprintf(fid_in[i], "Channel name: %s\n", name);
 		switch (freebob_streaming_get_capture_stream_type(dev,i)) {
 		case freebob_stream_type_audio:
 			fprintf(fid_in[i], "Channel type: audio\n");