From 03524fb81c81cf41b10fe1e478cd6a029afe1f29 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 3 Jan 2009 14:52:49 +0100 Subject: tag: use g_strescape() to eliminate evil characters This always allocates strings on the heap, but we can delete the stripReturnChar() function now. --- src/utils.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/utils.h') 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 */ -- cgit v1.2.3