220 |
len_prefix++; |
len_prefix++; |
221 |
} |
} |
222 |
len_prefix++; // to strip one more space... |
len_prefix++; // to strip one more space... |
223 |
tmp_val = strdup(value); |
if (len_prefix < strlen(value)) |
224 |
tmp_val2 = tmp_val; |
{ |
225 |
for (cpt = 0; cpt < len_prefix; cpt++) |
tmp_val = strdup(value); |
226 |
tmp_val++; |
for (cpt = 0; cpt < len_prefix; cpt++) |
227 |
|
{ |
228 |
|
tmp_val++; |
229 |
|
} |
230 |
|
} |
231 |
|
else |
232 |
|
{ |
233 |
|
tmp_val = ""; |
234 |
|
} |
235 |
res = strdup(tmp_val); |
res = strdup(tmp_val); |
236 |
free(tmp_val2); |
tmp_val = 0; |
|
tmp_val2 = 0; tmp_val = 0; |
|
237 |
return res; |
return res; |
238 |
} |
} |
239 |
|
|