Definition at line 1084 of file webDid.c.
References i, Service_content_str, size, sprintf(), sprintf_html(), and str.
Referenced by did_write_string().
1087 char *ptr,
str[80], tmp[256];
1092 for( i = 0; i <
size; i++)
1099 strcat(tmp,
" ");
1108 last[i%4] =
buff[
i];
1109 if((i%4 == 3) || (i == (size-1)))
1111 strcat(tmp,
"<br />");
1112 for(j = 0; j <= (i%4); j++)
1115 strcat(tmp,
"        D: ");
1119 strcat(tmp,
"<br />");
1122 ptr += (int)strlen(tmp);
1124 strcpy(tmp,
"<br />");
void sprintf_html(char *str, int n, int value)
sprintf(name1,"NewService%d", i)
char * Service_content_str