- /* Remove any \n or \r */
- /* Replace tabs from the argument field to spaces.
- * So whenever we have option:\tvalue\t, it will
- * become option: value\t
- */
- tmp_str = descriptive_msg;
- while(*tmp_str != '\0')
- {
- if(*tmp_str == '\n')
- *tmp_str = ' ';
- else if(*tmp_str == '\r')
- *tmp_str = ' ';
- else if((*tmp_str == ':') && (tmp_str[1] == '\t'))
- {
- tmp_str[1] = ' ';
- tmp_str++;
- }
-
- tmp_str++;
- }