mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
tests/command_test.c : Improve error reporting when '\0' is found in coding history.
This commit is contained in:
parent
dcfdd7cbb4
commit
ca75132a34
@ -1,3 +1,8 @@
|
||||
2008-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* tests/command_test.c
|
||||
Improve error reporting when '\0' is found in coding history.
|
||||
|
||||
2008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/broadcast.c
|
||||
|
@ -988,7 +988,7 @@ check_coding_history_newlines (const char *filename)
|
||||
} ;
|
||||
|
||||
if (bc_read.coding_history [k] == 0)
|
||||
{ printf ("\n\nLine %d : '\\0' within coding history.\n\n", __LINE__) ;
|
||||
{ printf ("\n\nLine %d : '\\0' within coding history at index %d of %d.\n\n", __LINE__, k, bc_read.coding_history_size) ;
|
||||
exit (1) ;
|
||||
} ;
|
||||
} ;
|
||||
|
Loading…
Reference in New Issue
Block a user