]> andersk Git - moira.git/blobdiff - clients/moira/attach.c
sync with server: "[" isn't a wildcard character in oracle, so don't
[moira.git] / clients / moira / attach.c
index cf1ffc181419446a2628c6e59fa7edcb99e900cf..8de39015f87ee2238c298f6010244f4601c7fe5d 100644 (file)
@@ -42,9 +42,7 @@
 #define GROUP        2
 #define ALIAS        3
 
-#define NO_MACHINE      ("\\[NONE\\]") /* C will remove one of the /'s here,
-                                        * and the other quotes the [ for
-                                        * ingres' regexp facility. */
+#define NO_MACHINE      ("[NONE]")
 #define NO_MACHINE_BAD  ("[NONE]")
 
 #define DEFAULT_TYPE     ("AFS")
@@ -308,10 +306,6 @@ Bool name;
        free(info[FS_MACHINE]);
        info[FS_MACHINE] = Strsave(NO_MACHINE);
     } else {
-       if (!strcmp(info[FS_MACHINE], NO_MACHINE_BAD)) {
-           free(info[FS_MACHINE]);
-           info[FS_MACHINE] = Strsave(NO_MACHINE);
-       }
        if (!strcasecmp(info[FS_TYPE], "AFS")) {
            if (!name || newdefaults) {
                free(info[FS_MACHINE]);
This page took 0.04055 seconds and 4 git commands to generate.