summaryrefslogtreecommitdiffstats
path: root/src/btparser/thread.c
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-10-14 18:23:59 +0200
committerKarel Klic <kklic@redhat.com>2010-10-14 18:23:59 +0200
commitab45fe20636f305fa8b033d2af8946d75eff7f8a (patch)
treec7000d999e0c72f8e2b1d7b512ba94709a6121a3 /src/btparser/thread.c
parent04fd9f5fcd10dc9bd22818490b5c91388728519c (diff)
downloadabrt-ab45fe20636f305fa8b033d2af8946d75eff7f8a.tar.gz
abrt-ab45fe20636f305fa8b033d2af8946d75eff7f8a.tar.xz
abrt-ab45fe20636f305fa8b033d2af8946d75eff7f8a.zip
btparser integration: use ABRT's strbuf instead of internal one
Diffstat (limited to 'src/btparser/thread.c')
-rw-r--r--src/btparser/thread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/btparser/thread.c b/src/btparser/thread.c
index 1a7f715e..af480eb3 100644
--- a/src/btparser/thread.c
+++ b/src/btparser/thread.c
@@ -238,17 +238,17 @@ btp_thread_remove_frames_below_n(struct btp_thread *thread,
void
btp_thread_append_to_str(struct btp_thread *thread,
- struct btp_strbuf *str,
+ struct strbuf *str,
bool verbose)
{
int framecount = btp_thread_get_frame_count(thread);
if (verbose)
{
- btp_strbuf_append_strf(str, "Thread no. %d (%d frames)\n",
+ strbuf_append_strf(str, "Thread no. %d (%d frames)\n",
thread->number, framecount);
}
else
- btp_strbuf_append_str(str, "Thread\n");
+ strbuf_append_str(str, "Thread\n");
struct btp_frame *frame = thread->frames;
while (frame)