Telemetry refactoring - Fixes #1634

This commit is contained in:
bsongis
2014-11-08 12:06:42 +01:00
parent 7d8ca6931b
commit 88d9691d16
105 changed files with 5789 additions and 3449 deletions
+2 -1
View File
@@ -84,7 +84,7 @@ void str2zchar(char *dest, const char *src, int size)
}
}
void zchar2str(char *dest, const char *src, int size)
int zchar2str(char *dest, const char *src, int size)
{
for (int c=0; c<size; c++) {
dest[c] = idx2char(src[c]);
@@ -92,6 +92,7 @@ void zchar2str(char *dest, const char *src, int size)
do {
dest[size--] = '\0';
} while (size >= 0 && dest[size] == ' ');
return size+1;
}
#endif