git://git.jankratochvil.net
/
udpgate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bc6e4a7
)
Fix platform identifier in "PROGRAM_VERSION" of the packet to be "$_-gnome".
author
short
<>
Wed, 9 Jun 2004 06:20:30 +0000
(06:20 +0000)
committer
short
<>
Wed, 9 Jun 2004 06:20:30 +0000
(06:20 +0000)
src/packet.c
patch
|
blob
|
history
diff --git
a/src/packet.c
b/src/packet.c
index
0e71136
..
5b72829
100644
(file)
--- a/
src/packet.c
+++ b/
src/packet.c
@@
-77,6
+77,9
@@
#include "main.h" /* for optarg_verbose */
#include "main.h" /* for optarg_verbose */
+#define PACKET_VERSION_STRING (VERSION "-gnome")
+
+
static void packet_assembly_guint32(GString *gstring,guint32 value_guint32)
{
guint32 value_guint32_htonl;
static void packet_assembly_guint32(GString *gstring,guint32 value_guint32)
{
guint32 value_guint32_htonl;
@@
-187,7
+190,7
@@
GString *gstring;
g_string_append(gstring,PACKET_HEADER);
g_string_append(gstring,PACKET_HEADER);
- packet_assembly_foreach(GINT_TO_POINTER(PACKET_ELEM_TYPE_PROGRAM_VERSION),
VERSION
,gstring);
+ packet_assembly_foreach(GINT_TO_POINTER(PACKET_ELEM_TYPE_PROGRAM_VERSION),
PACKET_VERSION_STRING
,gstring);
g_hash_table_foreach(
values, /* hash_table */
(GHFunc)packet_assembly_foreach, /* func */
g_hash_table_foreach(
values, /* hash_table */
(GHFunc)packet_assembly_foreach, /* func */