summaryrefslogtreecommitdiff
path: root/sysutils/gcombust/patches/patch-ab
blob: fb7e5d0126e95f3c8fb57296dcbaa748cfcbf03b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ab,v 1.1 2001/06/11 17:45:55 bouyer Exp $

--- src/command.c.orig	Wed Jun  6 15:05:16 2001
+++ src/command.c	Wed Jun  6 15:05:38 2001
@@ -99,6 +99,7 @@
 		add_option_to_cmd(cdr_cmd, s);
 		free(s);
 	} else {
+#if 0 
 		/* room for xx,xx,xx\0 */
 		char device[9];
 		if (-1 == g_snprintf(device, 9, "%i,%i,%i",
@@ -111,6 +112,7 @@
 		s = string_append(s, device);
 		add_option_to_cmd(cdr_cmd, s);
 		free(s);
+#endif /* 0 */
 	}
 
 	if (0 != strlen(gtk_entry_get_text(GTK_ENTRY(cdr_info->driver)))) {