Fix platform identifier in "PROGRAM_VERSION" of the packet to be "$_-gnome".
authorshort <>
Wed, 9 Jun 2004 06:20:30 +0000 (06:20 +0000)
committershort <>
Wed, 9 Jun 2004 06:20:30 +0000 (06:20 +0000)
src/packet.c

index 0e71136..5b72829 100644 (file)
@@ -77,6 +77,9 @@
 #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;
@@ -187,7 +190,7 @@ GString *gstring;
 
        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 */