mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2194
This commit is contained in:
parent
59835d404d
commit
65e9be65ee
|
@ -227,10 +227,10 @@ char* sgets(char* buf, int len, char*& in) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool extract_xml_record(const std::string &field, const char *tag, std::string &record) {
|
bool extract_xml_record(const std::string &field, const char *tag, std::string &record) {
|
||||||
std::string::size_type start_pos,end_pos,m;
|
std::string::size_type start_pos,end_pos;
|
||||||
char end_tag[256];
|
char end_tag[256];
|
||||||
sprintf(end_tag,"/%s",tag);
|
sprintf(end_tag,"/%s",tag);
|
||||||
std::string::size_type i=0,j=0;
|
std::string::size_type j=0;
|
||||||
|
|
||||||
// find the end tag
|
// find the end tag
|
||||||
do {
|
do {
|
||||||
|
|
Loading…
Reference in New Issue