Spot the obvious mistake

Peter F Bradshaw <[email protected]> Wed, 24 Apr 2002 19:00:40 +0800 (WST)
Newsgroups gmane.network.gnunet.bugs
Message-ID <Pine.LNX.4.44.0204241857310.5228-100000@goldmund>
Hi;

In the file textui/insertmp3.c there is the following:

  static void printkeywords(int numkeywords, char * keywords[]) {
    int count;
    for (count=0;count<numkeywords;numkeywords++) {
      if (count > 0)
        printf(", ");
      printf("%s",keywords[count]);
    }
 }

Of course it should be count++ :-)

Cheers

-- 
Peter F Bradshaw, [email protected], ICQ 75431157 (exadios).
http://www.exadios.com
PGP public key at http://www.exadios.com/public_key.html
"Needs more salt" - Archimedes