From 34ddeb754fcd5405f6da9fa13a3cd29d7d5acabf Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 18 Oct 2011 08:21:00 -0500 Subject: [PATCH] FS-3613 --resolve --- src/mod/applications/mod_valet_parking/mod_valet_parking.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mod/applications/mod_valet_parking/mod_valet_parking.c b/src/mod/applications/mod_valet_parking/mod_valet_parking.c index 23196c5226..950ceb481c 100644 --- a/src/mod/applications/mod_valet_parking/mod_valet_parking.c +++ b/src/mod/applications/mod_valet_parking/mod_valet_parking.c @@ -447,7 +447,6 @@ SWITCH_STANDARD_API(valet_info_function) const void *i_var; void *i_val; char *i_ext; - char *i_uuid; switch_hash_this(hi, &var, NULL, &val); name = (char *) var; @@ -459,10 +458,12 @@ SWITCH_STANDARD_API(valet_info_function) stream->write_function(stream, " \n", name); for (i_hi = switch_hash_first(NULL, lot->hash); i_hi; i_hi = switch_hash_next(i_hi)) { + valet_token_t *token; + switch_hash_this(i_hi, &i_var, NULL, &i_val); i_ext = (char *) i_var; - i_uuid = (char *) i_val; - stream->write_function(stream, " %s\n", i_uuid, i_ext); + token = (valet_token_t *) i_val; + stream->write_function(stream, " %s\n", token->uuid, i_ext); } stream->write_function(stream, " \n"); }