[libimdb-commit] CVS: libimdb/demo/dumpMovies main.c,1.1,1.2
Status: Pre-Alpha
Brought to you by:
jveldhuis
|
From: Jerry V. <jve...@us...> - 2003-08-17 16:41:04
|
Update of /cvsroot/libimdb/libimdb/demo/dumpMovies
In directory sc8-pr-cvs1:/tmp/cvs-serv24433
Modified Files:
main.c
Log Message:
minor debugging added
Index: main.c
===================================================================
RCS file: /cvsroot/libimdb/libimdb/demo/dumpMovies/main.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** main.c 16 Jun 2003 04:18:37 -0000 1.1
--- main.c 17 Aug 2003 16:41:02 -0000 1.2
***************
*** 25,36 ****
case LIST_DIRECTORS: {
const struct DirectorInList_s *data=entry;
! /*fprintf(stdout, "%d:%s type=%d, title=%s (%04d)\n", data->number, data->name, data->movieType,
! data->movieTitle, data->movieYear);*/
break;
}
case LIST_ACTORS: {
const struct ActorInList_s *data=entry;
! /*fprintf(stdout, "%d:%s type=%d, title=%s (%04d)\n", data->number, data->name, data->movieType,
! data->movieTitle, data->movieYear);*/
break;
}
--- 25,36 ----
case LIST_DIRECTORS: {
const struct DirectorInList_s *data=entry;
! /*fprintf(stdout, "%d:%s movieLabel=%s\n", data->number, data->name, data->movieLabel);*/
break;
}
case LIST_ACTORS: {
const struct ActorInList_s *data=entry;
! if ( data->number % 100000 == 0 ) {
! /*fprintf(stdout, "%d:%s movieLabel=%s\n", data->number, data->name, data->movieLabel);*/
! }
break;
}
|