]> andersk Git - moira.git/commitdiff
Don't need to cast the "isrecursive" argument; use atoi() instead.
authorzacheiss <zacheiss>
Fri, 27 Jul 2001 08:18:10 +0000 (08:18 +0000)
committerzacheiss <zacheiss>
Fri, 27 Jul 2001 08:18:10 +0000 (08:18 +0000)
server/qsupport.pc

index aa041caec950e31ba7f853569c08420c78d9abc0..5dd8b4542bca70bb2dffc258bd899632ec672fcc 100644 (file)
@@ -1976,7 +1976,7 @@ int get_machines_of_container(struct query *q, char *argv[], client *cl,
   rargv[1] = containername;
 
   cnt_id = *(int *)argv[0];
-  isrecursive = *(int *)argv[1];
+  isrecursive = atoi(argv[1]);
 
   /* get the container name */
   
@@ -2037,7 +2037,7 @@ int get_subcontainers_of_container(struct query *q, char *argv[], client *cl,
   rargv[0] = subcontainername;
 
   cnt_id = *(int *)argv[0];
-  isrecursive = *(int *)argv[1];
+  isrecursive = atoi(argv[1]);
 
   /* get the container name */
   
This page took 0.044706 seconds and 5 git commands to generate.