View | Details | Raw Unified | Return to bug 15974
Collapse All | Expand All

(-)E:/GDB_CVS/src/gdb/remote-notif.c (-3 / +6 lines)
Lines 157-166 Link Here
157
157
158
  for (i = 0; i < ARRAY_SIZE (notifs); i++)
158
  for (i = 0; i < ARRAY_SIZE (notifs); i++)
159
    {
159
    {
160
      nc = notifs[i];
160
      notif_client *nc_t = notifs[i];
161
      if (strncmp (buf, nc->name, strlen (nc->name)) == 0
161
      if (strncmp (buf, nc_t->name, strlen (nc_t->name)) == 0
162
	  && buf[strlen (nc->name)] == ':')
162
	  && buf[strlen (nc_t->name)] == ':')
163
	  {
164
        nc = nc_t; 
163
	break;
165
	break;
166
	  }
164
    }
167
    }
165
168
166
  /* We ignore notifications we don't recognize, for compatibility
169
  /* We ignore notifications we don't recognize, for compatibility

Return to bug 15974