~vibhavp/ubuntu/raring/ebook-tools/add-autopkgtest

« back to all changes in this revision

Viewing changes to src/tools/einfo.c

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-09-10 14:06:04 UTC
  • mto: (5.1.3 maverick)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20100910140604-ge4cw5cetcsetrxv
Tags: upstream-0.2.0
ImportĀ upstreamĀ versionĀ 0.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
  char *tourId = NULL;
30
30
  int verbose = 0, print = 0, debug = 0, quiet = 0, tour = 0;
31
31
  
32
 
  int i, j;
 
32
  int i, j, len;
33
33
  
34
34
  for (i = 1;i<argc;i++) {
35
35
    loop:          
36
36
 
37
37
    if (argv[i][0] == '-') {
 
38
      len = strlen(argv[i]);
38
39
 
39
 
      for (j = 1;j<strlen(argv[i]);j++) {
 
40
      for (j = 1;j<len;j++) {
40
41
        switch(argv[i][j]) {
41
42
        case 'v':
42
43
          verbose++;