Skip to content

Commit

Permalink
buffer: Remove printf() statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Mathieson committed Jan 5, 2015
1 parent 882d2ee commit e395ecc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ int buffer_appendf(buffer_t *self, const char *format, ...) {
char* dst = self->data + initial_len;
const int bytes_formatted = vsnprintf(dst, 1+space_required, format, ap);

printf("Result '%s'\n", self->data);
va_end(ap);
return (bytes_formatted < 0) ? -1 : 0;
}
Expand Down

2 comments on commit e395ecc

@marcomorain
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the second printf left in to as many PRs. D'oh!

@stephenmathieson
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

;)

Please sign in to comment.