You used vasprintf but used asprintf paramaters. Which one do you want to use? i changed to asprintf now.
Attach a file by drag & drop or click to upload