Mercurial > hg > audiodb
changeset 382:8425d05eda33
Fix some more argvctr+1 errors
author | mas01cr |
---|---|
date | Fri, 21 Nov 2008 14:52:43 +0000 |
parents | 9742ea0ac33d |
children | 6cef34d6fc48 bab245dc31d8 |
files | audioDB.cpp |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/audioDB.cpp Fri Nov 21 14:32:27 2008 +0000 +++ b/audioDB.cpp Fri Nov 21 14:52:43 2008 +0000 @@ -939,7 +939,7 @@ argv[argvctr++]=tempstr3; } - argv[argvctr+1]='\0'; + argv[argvctr]='\0'; audioDB::audioDB(argvctr, argv, &apierror); @@ -979,7 +979,7 @@ argv[argvctr++]="--key"; argv[argvctr++]=ins->key; } - argv[argvctr+1]='\0'; + argv[argvctr]='\0'; audioDB::audioDB(argvctr,argv,&apierror); return apierror; @@ -1086,7 +1086,7 @@ argv[argvctr++]=temptimesname; } - argv[argvctr+1]='\0'; + argv[argvctr]='\0'; audioDB::audioDB(argvctr,argv,&apierror); @@ -1209,7 +1209,7 @@ argv[argvctr++]="-K"; argv[argvctr++]=adbq->keylist; } - argv[argvctr+1]='\0'; + argv[argvctr]='\0'; /* debugging */