index -> strchr
[deliverable/binutils-gdb.git] / gdb / remote-adapt.c
index 390466d7bbd30ef73fc82c60d8939c45cda5141c..ff07b4b6d7e3436014f798e5bb7afa7d88d48850 100644 (file)
@@ -1331,7 +1331,7 @@ adapt_com (args, fromtty)
                break;
        /* Begin commands that take input in the form 'c x,y[,z...]' */
        case 'S':       /* Set memory or register */
-               if (index(args,',')) {  /* Assume it is properly formatted */
+               if (strchr(args,',')) { /* Assume it is properly formatted */
                        write(adapt_desc,args,strlen(args));
                        write(adapt_desc,"\r",1);
                        expect_prompt();
This page took 0.023035 seconds and 4 git commands to generate.