we use /var/lib/dumpdates, *not* /etc/dumpdates
[debian/amanda] / server-src / reporter.c
index f9fabea9535f5ed26d7096d5e198bd1219454e6d..1b2a8c2e6d35a189f7b2e55a9875ce230e8803e0 100644 (file)
@@ -1975,7 +1975,7 @@ handle_note(void)
        BSTRNCMP(curstr, "Taper protocol error") == 0) {
        exit_status |= STATUS_TAPE;
     }
-    pidstr = index(curstr,' ');
+    pidstr = strchr(curstr,' ');
     if (pidstr) {
        pidstr++;
     }
@@ -2405,7 +2405,7 @@ handle_success(
                origkb = 0.1;
        }
        if (curprog == P_TAPER && logtype == L_PARTIAL) {
-           char *t = index(s-1,']');
+           char *t = strchr(s-1,']');
            if (t) {
                char *errmsg, *u;
                errmsg = unquote_string(t+1);