summaryrefslogtreecommitdiff
path: root/src/shared/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-11 16:45:15 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-11 17:16:07 +0100
commitc50e4f95d8cfcd21bde2b0d1ff24b4de8fef4976 (patch)
tree72dc3520c924b565724055d852b673c6db140e07 /src/shared/util.c
parenteb91eb187b7491e05fb95215b77cb62061f41d08 (diff)
util: drop parse_user_at_host() since its unused now
Diffstat (limited to 'src/shared/util.c')
-rw-r--r--src/shared/util.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index f76ed6f563..21edd3ac2f 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -5838,20 +5838,6 @@ bool id128_is_valid(const char *s) {
return true;
}
-void parse_user_at_host(char *arg, char **user, char **host) {
- assert(arg);
- assert(user);
- assert(host);
-
- *host = strchr(arg, '@');
- if (*host == NULL)
- *host = arg;
- else {
- *host[0]++ = '\0';
- *user = arg;
- }
-}
-
int split_pair(const char *s, const char *sep, char **l, char **r) {
char *x, *a, *b;