From df4e9ec09df032f49af2896f2e90cafcf4d465d6 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sat, 9 May 2020 16:41:03 +0200 Subject: [PATCH] debug --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 21fcc8d..d65dd5b 100644 --- a/main.c +++ b/main.c @@ -151,9 +151,10 @@ int getpids(int pid, int exploded[]) pch = strtok( str, separator ); while( pch != NULL ) { + printf("%s\n", pch); exploded[x++] = atoi( pch ); pch = strtok( NULL , separator ); - printf("%s\n", pch); + } fclose(fh);