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

From: <git_AT_suckless.org>
Date: Fri, 6 Mar 2015 08:35:00 +0100 (CET)

commit 932ed7951fd62e62ce821a70ececd761dda42397
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 Fri Mar 06 2015 - 08:35:00 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 06 2015 - 08:36:12 CET