Definition at line 1172 of file webDid.c.
References i, Service_content_str, size, sprintf(), sprintf_html(), and str.
Referenced by did_write_string().
1175 char *ptr,
str[80], tmp[256];
1180 for( i = 0; i <
size; i++)
1187 strcat(tmp,
" ");
1196 last[i%8] =
buff[
i];
1197 if((i%8 == 7) || (i == (size-1)))
1199 strcat(tmp,
"<br />");
1200 for(j = 0; j <= (i%8); j++)
1203 strcat(tmp,
"        D: ");
1207 strcat(tmp,
"<br />");
1210 ptr += (int)strlen(tmp);
1212 strcpy(tmp,
"<br />");
void sprintf_html(char *str, int n, int value)
sprintf(name1,"NewService%d", i)
char * Service_content_str