]> andersk Git - moira.git/blobdiff - server/qsupport.pc
Trim whitespace from childname, so we can update a container that
[moira.git] / server / qsupport.pc
index c6bbe15f9e9e424d47986312de2e46e9c72a35b8..aa041caec950e31ba7f853569c08420c78d9abc0 100644 (file)
@@ -1923,7 +1923,8 @@ int update_container(struct query *q, char *argv[], client *cl)
       EXEC SQL FETCH csr_ucon INTO :childname, :childid;
       if (sqlca.sqlcode)
              break;
-      
+
+      strcpy(childname, strtrim(childname));
       /* concatenate the new parent name with the existing sub-container name
        * we get the sub-containers new name */
       tmpchar = childname + strlen(name);
This page took 0.049668 seconds and 4 git commands to generate.