Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bouquet: fix wrong variable reference
  • Loading branch information
perexg committed Feb 29, 2016
1 parent 83d75c6 commit 0430326
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bouquet.c
Expand Up @@ -773,10 +773,9 @@ bouquet_class_chtag_ref_get ( void *obj )
{
static const char *buf;
bouquet_t *bq = obj;
char ubuf[UUID_HEX_SIZE];

if (bq->bq_chtag_ptr)
buf = idnode_uuid_as_str(&bq->bq_chtag_ptr->ct_id, ubuf);
buf = idnode_uuid_as_str(&bq->bq_chtag_ptr->ct_id, prop_sbuf);
else
buf = "";
return &buf;
Expand Down

0 comments on commit 0430326

Please sign in to comment.