remove stray semicolon
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Fri, 28 Sep 2007 21:56:36 +0000 (21:56 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Fri, 28 Sep 2007 21:56:36 +0000 (21:56 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@20102 69ca8d6d-28ef-0310-b511-8ec308f3f277

libbb/lineedit.c

index 2db85d0..26a49a1 100644 (file)
@@ -1314,7 +1314,7 @@ int read_line_input(const char* prompt, char* command, int maxsize, line_input_t
                        /* If we enter read_line_input for the Nth time,
                         * they may be already allocated! Need to free. */
                        free(user_buf);
-                       if (home_pwd_buf != null_str);
+                       if (home_pwd_buf != null_str)
                                free(home_pwd_buf);
                        user_buf = xstrdup(entry->pw_name);
                        home_pwd_buf = xstrdup(entry->pw_dir);