- /* Removing new lines or carriage returns. */
- tmp_str = strchr(str, '\r');
- if(tmp_str)
- *tmp_str = '\0';
- tmp_str = strchr(str, '\n');
- if(tmp_str)
- *tmp_str = '\0';
+ /* Removing new lines or carriage returns. */
+ tmp_str = strchr(str, '\r');
+ if(tmp_str)
+ *tmp_str = '\0';
+ tmp_str = strchr(str, '\n');
+ if(tmp_str)
+ *tmp_str = '\0';