Changeset 837 in openpam


Ignore:
Timestamp:
Oct 28, 2014, 5:50:17 PM (7 years ago)
Author:
Dag-Erling Smørgrav
Message:

Oops - the line count is incremented by the line continuation, not by
the word that precedes it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/t_openpam_readword.c

    r836 r837  
    905905        t_fprintf(tf, "hello \\\n world\n");
    906906        t_frewind(tf);
    907         ret = orw_expect(tf, "hello", 1 /*lines*/, 0 /*eof*/, 0 /*eol*/) &&
    908             orw_expect(tf, "world", 0 /*lines*/, 0 /*eof*/, 1 /*eol*/);
     907        ret = orw_expect(tf, "hello", 0 /*lines*/, 0 /*eof*/, 0 /*eol*/) &&
     908            orw_expect(tf, "world", 1 /*lines*/, 0 /*eof*/, 1 /*eol*/);
    909909        t_fclose(tf);
    910910        return (ret);
Note: See TracChangeset for help on using the changeset viewer.