diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-02-20 06:46:57 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-02-20 06:46:57 +0000 |
commit | 0768c4b989e713e604fb3e2a40f8c74fbeb62a28 (patch) | |
tree | 65ebe6973d7c41922cd313ba51b706ccee0c79ab /wiretap | |
parent | 19d8e24ab04eff0eb3067cba905ff160a983bc34 (diff) |
Make the "magic number" a "const" string.
svn path=/trunk/; revision=193
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/snoop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/snoop.c b/wiretap/snoop.c index 1aedc9406f..12130e57bc 100644 --- a/wiretap/snoop.c +++ b/wiretap/snoop.c @@ -1,6 +1,6 @@ /* snoop.c * - * $Id: snoop.c,v 1.2 1999/01/07 16:15:36 gram Exp $ + * $Id: snoop.c,v 1.3 1999/02/20 06:46:57 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu> @@ -27,7 +27,7 @@ /* See RFC 1761 for a description of the "snoop" file format. */ /* Magic number in "snoop" files. */ -static char snoop_magic[] = { +static const char snoop_magic[] = { 's', 'n', 'o', 'o', 'p', '\0', '\0', '\0' }; |