diff options
author | Max Kellermann <max@duempel.org> | 2009-01-03 14:52:49 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-03 14:52:49 +0100 |
commit | 03524fb81c81cf41b10fe1e478cd6a029afe1f29 (patch) | |
tree | be03afa018683a914741301eba5f16efa3b836db /src/utils.h | |
parent | d342e338db085e8e8f6eded2aef48c7ca41239ae (diff) | |
download | mpd-03524fb81c81cf41b10fe1e478cd6a029afe1f29.tar.gz mpd-03524fb81c81cf41b10fe1e478cd6a029afe1f29.tar.xz mpd-03524fb81c81cf41b10fe1e478cd6a029afe1f29.zip |
tag: use g_strescape() to eliminate evil characters
This always allocates strings on the heap, but we can delete the
stripReturnChar() function now.
Diffstat (limited to '')
-rw-r--r-- | src/utils.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h index 0e210cd5f..dff41bab6 100644 --- a/src/utils.h +++ b/src/utils.h @@ -36,8 +36,6 @@ } while (0) #endif /* !assert_static */ -void stripReturnChar(char *string); - void my_usleep(long usec); /* trivial functions, keep them inlined */ |