ObjFW  Check-in [c401c7482d]

Overview
Comment:utils/ofatalkcfg: Fix missing newline in output
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c401c7482dcf3719e79df0cd08fb43c9104a14f2d231c83c0a66aebdbeccf87c
User & Date: js on 2023-04-22 17:27:41
Other Links: manifest | tags
Context
2023-04-22
17:47
Make sure the ABI of OFSocketAddress stays stable check-in: 19ace65ba8 user: js tags: trunk
17:27
utils/ofatalkcfg: Fix missing newline in output check-in: c401c7482d user: js tags: trunk
10:14
OFSystemInfo: Move const into correct place check-in: 3d215a4f7d user: js tags: trunk
Changes

Modified utils/ofatalkcfg/OFATalkCfg.m from [9d2924bd2f] to [60ff50c3af].

70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
			       network.unsignedShortValue];
	[OFStdOut writeFormat: @"\tNode:      %02X\n", node.unsignedCharValue];
	if (phase != nil)
		[OFStdOut writeFormat: @"\tPhase:     %@\n", phase];
	if (range != nil) {
		unsigned short start = [range.firstObject unsignedShortValue];
		unsigned short end = [range.secondObject unsignedShortValue];
		[OFStdOut writeFormat: @"\tNet range: %04X-%04X", start, end];
	}
}

static void
setConfiguration(OFArray OF_GENERIC(OFString *) *arguments,
    OFString *networkString, OFString *nodeString, OFString *phaseString,
    OFString *rangeString)







|







70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
			       network.unsignedShortValue];
	[OFStdOut writeFormat: @"\tNode:      %02X\n", node.unsignedCharValue];
	if (phase != nil)
		[OFStdOut writeFormat: @"\tPhase:     %@\n", phase];
	if (range != nil) {
		unsigned short start = [range.firstObject unsignedShortValue];
		unsigned short end = [range.secondObject unsignedShortValue];
		[OFStdOut writeFormat: @"\tNet range: %04X-%04X\n", start, end];
	}
}

static void
setConfiguration(OFArray OF_GENERIC(OFString *) *arguments,
    OFString *networkString, OFString *nodeString, OFString *phaseString,
    OFString *rangeString)