You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
473 B

  1. --- a/src/server.c
  2. +++ b/src/server.c
  3. @@ -2013,11 +2013,8 @@ static void dispatch_method(lo_server s,
  4. tmp = (char*) malloc(strlen(it->path + len) + 1);
  5. strcpy(tmp, it->path + len);
  6. -#if defined(WIN32) || defined(_MSC_VER)
  7. sec = strchr(tmp, '/');
  8. -#else
  9. - sec = index(tmp, '/');
  10. -#endif
  11. +
  12. if (sec)
  13. *sec = '\0';
  14. slend = sl;