Revision 755bfeab pktdumper.c

View differences:

pktdumper.c
46 46
    AVPacket pkt;
47 47
    int64_t pktnum = 0;
48 48
    int64_t maxpkts = 0;
49
    int dontquit = 0;
49
    int donotquit = 0;
50 50
    int nowrite = 0;
51 51
    int err;
52 52

  
53 53
    if ((argc > 1) && !strncmp(argv[1], "-", 1)) {
54 54
        if (strchr(argv[1], 'w'))
55
            dontquit = 1;
55
            donotquit = 1;
56 56
        if (strchr(argv[1], 'n'))
57 57
            nowrite = 1;
58 58
        argv++;
......
110 110
            break;
111 111
    }
112 112

  
113
    while (dontquit)
113
    while (donotquit)
114 114
        sleep(60);
115 115

  
116 116
    return 0;

Also available in: Unified diff