summaryrefslogtreecommitdiff
path: root/tools/declare_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/declare_queue.c')
-rw-r--r--tools/declare_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/declare_queue.c b/tools/declare_queue.c
index 57ba0a3..38e25b2 100644
--- a/tools/declare_queue.c
+++ b/tools/declare_queue.c
@@ -48,8 +48,8 @@
int main(int argc, const char **argv)
{
amqp_connection_state_t conn;
- char *queue = NULL;
- int durable = 0;
+ static char *queue = NULL;
+ static int durable = 0;
struct poptOption options[] = {
INCLUDE_OPTIONS(connect_options),