[xiph-cvs] cvs commit: vorbis-tools/ogg123 callbacks.c
Segher Boessenkool
segher at xiph.org
Wed Dec 26 06:22:26 PST 2001
segher 01/12/26 06:22:26
Modified: ogg123 callbacks.c
Log:
don't pass non-constant strings as format string
Revision Changes Path
1.3 +3 -3 vorbis-tools/ogg123/callbacks.c
Index: callbacks.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/callbacks.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- callbacks.c 2001/12/19 02:52:53 1.2
+++ callbacks.c 2001/12/26 14:22:26 1.3
@@ -11,7 +11,7 @@
* *
********************************************************************
- last mod: $Id: callbacks.c,v 1.2 2001/12/19 02:52:53 volsung Exp $
+ last mod: $Id: callbacks.c,v 1.3 2001/12/26 14:22:26 segher Exp $
********************************************************************/
@@ -244,7 +244,7 @@
{
status_message_arg_t *myarg = (status_message_arg_t *) arg;
- status_error(myarg->message);
+ status_error("%s", myarg->message);
free(myarg->message);
free(myarg);
@@ -255,7 +255,7 @@
{
status_message_arg_t *myarg = (status_message_arg_t *) arg;
- status_message(myarg->verbosity, myarg->message);
+ status_message(myarg->verbosity, "%s", myarg->message);
free(myarg->message);
free(myarg);
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list