Permalink
Browse files

make this work on more operating systems

  • Loading branch information...
1 parent b8c452c commit 4e9713f3e4fbe798c21513fbbd5a98826e17e44b @postwait postwait committed Jul 18, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 fq_client.c
View
3 fq_client.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <alloca.h>
#include <string.h>
#include <unistd.h>
#include <sys/uio.h>
@@ -582,7 +583,7 @@ fq_client_creds(fq_client conn, const char *host, unsigned short port,
uuid_t out;
uuid_generate(out);
qname[0] = 'q'; qname[1] = '-';
- uuid_unparse_lower(out, qname+2);
+ uuid_unparse(out, qname+2);
conn_s->queue = qname;
}
conn_s->queue_type = strdup(conn_s->queue_type ?

0 comments on commit 4e9713f

Please sign in to comment.