X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=hashlib.c;h=40e284171fd026e791a5544ab2a05977c621bc19;hb=28ef6c316f1aff914bb95ac09787a3c83c1815fd;hp=0cf33752b4c3db0c163c0a42bd2f1d05f33c2dc5;hpb=bb70624e964126b7ac4ff085ba163a9c35ffa18f;p=platform%2Fupstream%2Fbash.git diff --git a/hashlib.c b/hashlib.c index 0cf3375..40e2841 100644 --- a/hashlib.c +++ b/hashlib.c @@ -270,7 +270,7 @@ print_table_stats (table, name) fprintf (stderr, "\tslot %3d: ", slot); for (bcount = 0; bc; bc = bc->next) - bcount++; + bcount++; fprintf (stderr, "%d\n", bcount); } @@ -310,9 +310,9 @@ main () { char *temp_string; if (fgets (string, sizeof (string), stdin) == 0) - break; + break; if (!*string) - break; + break; temp_string = savestring (string); tt = add_hash_item (temp_string, table); if (tt->times_found)