Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
68ee002a
Commit
68ee002a
authored
17 years ago
by
Dan Fandrich
Browse files
Options
Downloads
Patches
Plain Diff
Made some pointers const
parent
1fc3b185
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/sendf.c
+2
-2
2 additions, 2 deletions
lib/sendf.c
lib/sendf.h
+1
-1
1 addition, 1 deletion
lib/sendf.h
with
3 additions
and
3 deletions
lib/sendf.c
+
2
−
2
View file @
68ee002a
...
...
@@ -560,7 +560,7 @@ int Curl_read(struct connectdata *conn, /* connection data */
/* return 0 on success */
static
int
showit
(
struct
SessionHandle
*
data
,
curl_infotype
type
,
char
*
ptr
,
size_t
size
)
const
char
*
ptr
,
size_t
size
)
{
static
const
char
*
const
s_infotype
[
CURLINFO_END
]
=
{
"* "
,
"< "
,
"> "
,
"{ "
,
"} "
,
"{ "
,
"} "
};
...
...
@@ -629,7 +629,7 @@ static int showit(struct SessionHandle *data, curl_infotype type,
}
int
Curl_debug
(
struct
SessionHandle
*
data
,
curl_infotype
type
,
char
*
ptr
,
size_t
size
,
const
char
*
ptr
,
size_t
size
,
struct
connectdata
*
conn
)
{
int
rc
;
...
...
This diff is collapsed.
Click to expand it.
lib/sendf.h
+
1
−
1
View file @
68ee002a
...
...
@@ -70,7 +70,7 @@ CURLcode Curl_write(struct connectdata *conn,
/* the function used to output verbose information */
int
Curl_debug
(
struct
SessionHandle
*
handle
,
curl_infotype
type
,
char
*
data
,
size_t
size
,
const
char
*
data
,
size_t
size
,
struct
connectdata
*
conn
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment