Definition at line 569 of file webDid.c.
References str.
Referenced by find_services(), and update_command_data().
571 char str[256], *ptr, *ptr1;
574 strcpy(str, service);
577 if( (ptr = strstr(str,
"/RpcIn")) )
582 if( (ptr = strstr(str,
"/RpcOut")) )
588 if( (ptr = strstr(
buffer, str)) )
592 ptr += (int)strlen(str);
593 ptr1 = strchr(ptr,
'|');
595 else if(rpc_flag == 1)
597 ptr += (int)strlen(str);
598 ptr1 = strchr(ptr,
',');
602 ptr += (int)strlen(str);
603 ptr = strchr(ptr,
',');
605 ptr1 = strchr(ptr,
'|');
607 strncpy(format,ptr,(
size_t)(ptr1 - ptr));
608 format[(int)(ptr1-ptr)] =
'\0';