summaryrefslogtreecommitdiff
path: root/editors/patch.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-12 00:32:05 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-12 00:32:05 +0000
commit51742f4bb0c57a4d5063ece9437a2f34a42e52c8 (patch)
tree7a912fc65ff43bdb09078d75bfc02ad8f5380b47 /editors/patch.c
parent50f7f446ecaadef6895a4ee601567e0b68330637 (diff)
downloadbusybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.tar.gz
busybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.tar.bz2
busybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.zip
style fixes. No code changes
Diffstat (limited to 'editors/patch.c')
-rw-r--r--editors/patch.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/patch.c b/editors/patch.c
index 4d1425edc..11b2f2587 100644
--- a/editors/patch.c
+++ b/editors/patch.c
@@ -62,7 +62,9 @@ static char *extract_filename(char *line, int patch_level)
62 62
63 /* skip over (patch_level) number of leading directories */ 63 /* skip over (patch_level) number of leading directories */
64 for (i = 0; i < patch_level; i++) { 64 for (i = 0; i < patch_level; i++) {
65 if(!(temp = strchr(filename_start_ptr, '/'))) break; 65 temp = strchr(filename_start_ptr, '/');
66 if (!temp)
67 break;
66 filename_start_ptr = temp + 1; 68 filename_start_ptr = temp + 1;
67 } 69 }
68 70