* ld-selective/selective.exp <no CXX>: Fix typo for argument to
[deliverable/binutils-gdb.git] / gdb / remote-nrom.c
index 49e51c39e4e2818b21d67882a65300f4db5b7ae2..86a0718c6748bdb1566d6a725ff44fe515fc7520 100644 (file)
@@ -66,7 +66,7 @@ expect (char *string)
   char *p = string;
   int c;
 
-  immediate_quit = 1;
+  immediate_quit++;
 
   while (1)
     {
@@ -76,8 +76,7 @@ expect (char *string)
        {
          if (*p == '\0')
            {
-             immediate_quit = 0;
-
+             immediate_quit--;
              return 0;
            }
        }
This page took 0.023274 seconds and 4 git commands to generate.