Ad
  • Default User Avatar

    Fine, but just my Two suggestions:
    1-#defines should be used in place of "magic numbers".
    2-Missing check of tmp against NULL pointer. tolower(tmp[0]) with tmp pointing NULL crashes.