about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/computing/slurm-spank-stunnel/hostlist.patch
blob: 0fc1d0626aab0d9acdd34ece22db5feecfe2448b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/slurm-spank-stunnel.c b/slurm-spank-stunnel.c
index 81fb4fd..dbe69f6 100644
--- a/slurm-spank-stunnel.c
+++ b/slurm-spank-stunnel.c
@@ -278,7 +278,7 @@ int _stunnel_connect_nodes (char* nodes)
 {
 
     char* host;
-    hostlist_t hlist;
+    hostlist_t *hlist;
 
     // Connect to the first host in the list
     hlist = slurm_hostlist_create(nodes);