fanf 01/01/25 18:12:50
Modified: src/os/netware os.h
Log:
fix style bugs and note an assumption
Revision Changes Path
1.12 +4 -5 apache-1.3/src/os/netware/os.h
Index: os.h
===================================================================
RCS file: /home/cvs/apache-1.3/src/os/netware/os.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -u -r1.11 -r1.12
--- os.h 2001/01/25 20:44:29 1.11
+++ os.h 2001/01/26 02:12:50 1.12
@@ -129,13 +129,12 @@
{
char *s = strchr (file, ':');
- if (s)
- {
- if (strncmp(s, "://", 3))
+ if (s) {
+ if (strncmp(s, "://", 3) != 0)
+ /* XXX: we assume that everything before the : is letters */
return 1;
}
- else
- {
+ else {
if (file[0] == '/')
return 1;
}
|