summaryrefslogtreecommitdiffstats
path: root/chpass/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'chpass/edit.c')
-rw-r--r--chpass/edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/chpass/edit.c b/chpass/edit.c
index b0ef308..612cb4a 100644
--- a/chpass/edit.c
+++ b/chpass/edit.c
@@ -126,19 +126,19 @@ display(fd, pw)
list[E_NAME].save = strdup(p);
if (!list[E_NAME].restricted || !uid)
(void)fprintf(fp, "Full Name: %s\n", p ? p : "");
-
+
p = strsep(&bp, ",");
if (p)
list[E_LOCATE].save = strdup(p);
if (!list[E_LOCATE].restricted || !uid)
(void)fprintf(fp, "Location: %s\n", p ? p : "");
-
+
p = strsep(&bp, ",");
if (p)
list[E_BPHONE].save = strdup(p);
if (!list[E_BPHONE].restricted || !uid)
(void)fprintf(fp, "Office Phone: %s\n", p ? p : "");
-
+
p = strsep(&bp, ",");
if (p)
list[E_HPHONE].save = strdup(p);