You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
525 B

  1. From 972fb2bbfdb7118551da45c5828c9e74be581fc4 Mon Sep 17 00:00:00 2001
  2. From: Daniel Kamil Kozar <dkk089@gmail.com>
  3. Date: Sat, 15 Dec 2018 21:55:52 +0100
  4. Subject: [PATCH] What about David Bowie's "Heroes"?
  5. ---
  6. utils.c | 7 -------
  7. 1 file changed, 7 deletions(-)
  8. diff --git a/utils.c b/utils.c
  9. index dc936f9..dfa2b65 100644
  10. --- a/utils.c
  11. +++ b/utils.c
  12. @@ -87,13 +87,6 @@ trim(char *str)
  13. len--;
  14. }
  15. - if (str[0] == '"' && str[len-1] == '"')
  16. - {
  17. - str[0] = '\0';
  18. - str[len-1] = '\0';
  19. - str++;
  20. - }
  21. -
  22. return str;
  23. }