[prev in list] [next in list] [prev in thread] [next in thread]
List: elinks-cvs
Subject: [ELinks] elinks - miciah: Small, untested optimisation.
From: cvs () pasky ! ji ! cz
Date: 2003-12-31 8:14:15
Message-ID: 20031231081415.7218.qmail () machine ! sinus ! cz
[Download RAW message or body]
This is an automated notification of a change to the ELinks CVS tree.
Author: miciah
Module: elinks
Tag: <TRUNK>
Date: Wed Dec 31 08:14:15 2003 GMT
---- Log message:
Small, untested optimisation.
---- Files affected:
elinks/src/protocol/smb:
smb.c (1.26 -> 1.27)
http://cvsweb.elinks.or.cz/cvsweb.cgi/elinks/src/protocol/smb/smb.c.diff?r1=1.26&r2=1.27&f=u
---- Diffs:
Index: elinks/src/protocol/smb/smb.c
diff -u elinks/src/protocol/smb/smb.c:1.26 elinks/src/protocol/smb/smb.c:1.27
--- elinks/src/protocol/smb/smb.c:1.26 Wed Dec 24 12:07:29 2003
+++ elinks/src/protocol/smb/smb.c Wed Dec 31 09:14:10 2003
@@ -557,10 +557,10 @@
} else {
unsigned char *s = straconcat("get \"", dir, "\" -", NULL);
- unsigned char *ss;
+ unsigned char *ss = s;
v[n++] = "-c"; /* execute semicolon separated commands */
- while ((ss = strchr(s, '/'))) *ss = '\\';
+ while ((ss = strchr(ss, '/'))) *ss = '\\';
v[n++] = s;
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic