File: fix-rport

package info (click to toggle)
dhis-client 5.5-5
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 296 kB
  • ctags: 160
  • sloc: ansic: 1,245; makefile: 63; sh: 51
file content (18 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- dhis-client-5.5.orig/network.c
+++ dhis-client-5.5/network.c
@@ -29,6 +29,7 @@
 #include "dhid.h"
 
 int udp_sock;
+extern int rport;
 
 
 /*
@@ -250,6 +251,7 @@ int net_write_message(msg_t *p,int toadd
 
 	p->hdr.version=DHIS_VERSION;
 	p->hdr.serial=get_serial();
+	p->hdr.rport=rport;
 
         /* set destination */
         sa.sin_family=AF_INET;