@andy5995 commented on this pull request.


In src/build.c:

> @@ -1063,7 +1063,7 @@ gboolean build_parse_make_dir(const gchar *string, gchar **prefix)
 		gchar *input;
 
 		/* get the start of the path */
-		pos = strstr(string, "/");
+		pos = strchr(pos, "/");
⬇️ Suggested change
-		pos = strchr(pos, "/");
+		pos = strchr(pos, '/');

When using strchr, use single quotes around the char (because it's a char and not a string)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.