From 4375eeb346bcf2cd5b1f38d8bbd01d4f53fdae45 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Mon, 9 May 2016 14:39:06 -0400 Subject: more work on bug reporter --- ws2a/bugsdata.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ws2a/bugsdata.c b/ws2a/bugsdata.c index ef15c08..4517ff6 100644 --- a/ws2a/bugsdata.c +++ b/ws2a/bugsdata.c @@ -18,7 +18,8 @@ int main(){ char filestring[64]; char filename[10]; strcat(filestring,"../ws2a/bugs/"); - strcat(filestring,itoa(last,filename,10)); + itoa(last,filename,10) + strcat(filestring,filename); FILE* thisbug; thisbug = fopen(filestring,"r"); if(thisbug == NULL){ -- cgit v1.2.3-70-g09d2