X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=server-src%2Freporter.c;h=1b2a8c2e6d35a189f7b2e55a9875ce230e8803e0;hb=c2190a140fc0a40b9469ce497d089a27a2dfe0df;hp=f9fabea9535f5ed26d7096d5e198bd1219454e6d;hpb=afaa71b3866b46b082b6c895772e15b36d8865fe;p=debian%2Famanda diff --git a/server-src/reporter.c b/server-src/reporter.c index f9fabea..1b2a8c2 100644 --- a/server-src/reporter.c +++ b/server-src/reporter.c @@ -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);