Skip to content
Snippets Groups Projects
Commit ba803ed3 authored by Lev Walkin's avatar Lev Walkin
Browse files

removed debugging

parent 79f5495a
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,6 @@ a1c_dirname(const char *path) { ...@@ -54,7 +54,6 @@ a1c_dirname(const char *path) {
/* One-pass determination of the last char of the pathname */ /* One-pass determination of the last char of the pathname */
for(pend = path; ; pend++) { for(pend = path; ; pend++) {
printf("-%c", *pend);
switch(*pend) { switch(*pend) {
case '\0': break; case '\0': break;
case '/': case '/':
...@@ -69,7 +68,6 @@ a1c_dirname(const char *path) { ...@@ -69,7 +68,6 @@ a1c_dirname(const char *path) {
} }
break; break;
} }
printf("\n");
if(last <= path) { if(last <= path) {
strcpy(strbuf, *path == '/' ? "/" : "."); strcpy(strbuf, *path == '/' ? "/" : ".");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment