Skip to content

Commit

Permalink
allow null terminators in format string
Browse files Browse the repository at this point in the history
  • Loading branch information
falconindy committed Jul 30, 2011
1 parent 5f1c74c commit fb8bdc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions expac.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ static int print_escaped(const char *delim) {
case 'v':
putchar('\v');
break;
case '0':
putchar('\0');
break;
++out;
}
} else {
Expand Down

0 comments on commit fb8bdc6

Please sign in to comment.