1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-07-02 02:53:37 +02:00
openwrt-packages/libs/liblo/patches/010-index.patch
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00

16 lines
473 B
Diff

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