Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
9f9a9eed
Commit
9f9a9eed
authored
Jun 27, 2002
by
Pontus Freyhult
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed obsolete variable copychars.
Rev: src/sftp/ChangeLog:1.36 Rev: src/sftp/str_utils.c:1.5
parent
ee464195
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/sftp/ChangeLog
src/sftp/ChangeLog
+1
-0
src/sftp/str_utils.c
src/sftp/str_utils.c
+1
-2
No files found.
src/sftp/ChangeLog
View file @
9f9a9eed
2002-06-27 Pontus Skld <Pontus.Skold@dis.uu.se>
* str_utils.c (lsftp_s_strtok): Don't use strndup.
(lsftp_s_strtok): Removed unused variable.
2002-06-27 Pontus Skld <pont@soua.net>
...
...
src/sftp/str_utils.c
View file @
9f9a9eed
...
...
@@ -143,7 +143,6 @@ lsftp_s_strtok(const char* s, const char* sep,
{
/* TODO: should we do this different to support char-types with more than eight bits? */
int
copychars
;
char
*
tend
;
char
*
scopy
;
...
...
@@ -162,7 +161,7 @@ lsftp_s_strtok(const char* s, const char* sep,
tend
=
lsftp_s_skipn
(
s
,
sep
);
/* Find the first separator in our new s (or it's end) */
scopy
=
strdup
(
s
);
/* Put the token in store */
scopy
=
strdup
(
s
);
/* Put the token in store */
if
(
!
scopy
)
return
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment