~martijnbraam/public-inbox

Megapixels: Fix /etc/megapixels.ini fallback (pointer issue) v1 APPLIED

Fernando Ramos: 1
 Fix /etc/megapixels.ini fallback (pointer issue)

 1 files changed, 1 insertions(+), 1 deletions(-)
#317751 alpine.yml failed
#317752 arch.yml failed
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~martijnbraam/public-inbox/patches/14257/mbox | git am -3
Learn more about email & git

[PATCH Megapixels] Fix /etc/megapixels.ini fallback (pointer issue) Export this patch

---
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index 20f0895..1de0a40 100644
--- a/main.c
+++ b/main.c
@@ -1398,7 +1398,7 @@ find_config(char *conffile)
	}

	// If all else fails, fall back to /etc/megapixels.ini
	conffile = "/etc/megapixels.ini";
	sprintf(conffile, "/etc/megapixels.ini");
	if(access(conffile, F_OK) != -1) {
		printf("Found config file at %s\n", conffile);
		return 0;
-- 
2.28.0
megapixels/patches: FAILED in 33s

[Fix /etc/megapixels.ini fallback (pointer issue)][0] from [Fernando Ramos][1]

[0]: https://lists.sr.ht/~martijnbraam/public-inbox/patches/14257
[1]: mailto:greenfoo@gluegarage.com

✗ #317752 FAILED megapixels/patches/arch.yml   https://builds.sr.ht/~martijnbraam/job/317752
✗ #317751 FAILED megapixels/patches/alpine.yml https://builds.sr.ht/~martijnbraam/job/317751