Fix build WRT ast_str_opaque
authorRussell Bryant <russell@russellbryant.com>
Mon, 15 Dec 2008 14:40:08 +0000 (14:40 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 15 Dec 2008 14:40:08 +0000 (14:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164202 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_jack.c

index 14546b3..3f8dbae 100644 (file)
@@ -182,7 +182,7 @@ static void log_jack_status(const char *prefix, jack_status_t status)
                        ast_str_append(&str, 0, ", %s", jack_status_to_str((1 << i)));
        }
        
                        ast_str_append(&str, 0, ", %s", jack_status_to_str((1 << i)));
        }
        
-       ast_log(LOG_NOTICE, "%s: %s\n", prefix, str->str);
+       ast_log(LOG_NOTICE, "%s: %s\n", prefix, ast_str_buffer(str));
 }
 
 static int alloc_resampler(struct jack_data *jack_data, int input)
 }
 
 static int alloc_resampler(struct jack_data *jack_data, int input)