diff dep/animia/src/fd/proc.cc @ 182:c413e475f496

dep/animia: various stylistic changes
author Paper <mrpapersonic@gmail.com>
date Mon, 04 Dec 2023 13:19:54 -0500
parents d26cd2c00270
children bc1ae1810855
line wrap: on
line diff
--- a/dep/animia/src/fd/proc.cc	Mon Dec 04 12:14:30 2023 -0500
+++ b/dep/animia/src/fd/proc.cc	Mon Dec 04 13:19:54 2023 -0500
@@ -82,6 +82,8 @@
 			return false; // we got a bad result, i think
 	}
 
+	out.resize(out.find('\0'));
+
 	return true;
 }