[hackers] [sbase] Small fix in mkdir.c || FRIGN

From: <git_AT_suckless.org>
Date: Tue, 24 Mar 2015 23:54:10 +0100 (CET)

commit 90751ab4ba7b0772c3816cf86783fd3490cf9172
Author: FRIGN <dev_AT_frign.de>
Date: Fri Mar 6 00:34:43 2015 +0100

    Small fix in mkdir.c
    
    Don't initialize p twice.

diff --git a/mkdir.c b/mkdir.c
index b21b59a..470c07e 100644
--- a/mkdir.c
+++ b/mkdir.c
_AT_@ -9,7 +9,7 @@
 static int
 mkdirp(char *path)
 {
- char *p = path;
+ char *p;
 
         for (p = path; *p; p++) {
                 if (*p != '/')
Received on Tue Mar 24 2015 - 23:54:10 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 25 2015 - 00:11:28 CET