Package: firestarter / 1.0.3-11

25_return_port_number_not_unknown.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: firestarter/src/service.c
===================================================================
--- firestarter.orig/src/service.c	2012-05-13 22:23:16.074097122 +0100
+++ firestarter/src/service.c	2012-05-13 22:24:13.930098285 +0100
@@ -201,6 +201,8 @@
 			/* Register the retrieved service with the table for future reference */
 			g_hash_table_insert (services_table, GINT_TO_POINTER (port), g_strdup(name));
 		}
+        else
+            g_vsprintf(name, "%i", port);
 	}
 
 	if (name)