Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Constify a couple of strings.
Browse files Browse the repository at this point in the history
git-svn-id: http://www.varnish-cache.org/svn/trunk@3234 d4fa192b-c00b-0410-8231-f00ffab90ce4
  • Loading branch information
bsdphk committed Sep 29, 2008
1 parent 8e12199 commit 1b38d6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/vrt.h
Expand Up @@ -48,8 +48,8 @@ struct sockaddr;
extern void *vrt_magic_string_end;

struct vrt_backend_probe {
char *url;
char *request;
const char *url;
const char *request;
double timeout;
double interval;
unsigned window;
Expand Down
4 changes: 2 additions & 2 deletions lib/libvcl/vcc_fixed_token.c
Expand Up @@ -328,8 +328,8 @@ vcl_output_lang_h(struct vsb *sb)
vsb_cat(sb, "extern void *vrt_magic_string_end;\n");
vsb_cat(sb, "\n");
vsb_cat(sb, "struct vrt_backend_probe {\n");
vsb_cat(sb, " char *url;\n");
vsb_cat(sb, " char *request;\n");
vsb_cat(sb, " const char *url;\n");
vsb_cat(sb, " const char *request;\n");
vsb_cat(sb, " double timeout;\n");
vsb_cat(sb, " double interval;\n");
vsb_cat(sb, " unsigned window;\n");
Expand Down

0 comments on commit 1b38d6a

Please sign in to comment.