Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162512234
D53711.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
455 B
Referenced Files
None
Subscribers
None
D53711.diff
View Options
diff --git a/usr.bin/ministat/ministat.c b/usr.bin/ministat/ministat.c
--- a/usr.bin/ministat/ministat.c
+++ b/usr.bin/ministat/ministat.c
@@ -438,10 +438,8 @@
putchar('|');
for (j = 0; j < pl->width; j++) {
k = pl->data[(pl->height - z) * pl->width + j];
- if (k >= 0 && k < MAX_DS)
- putchar(symbol[k]);
- else
- printf("[%02x]", k);
+ assert(k >= 0 && k < MAX_DS);
+ putchar(symbol[k]);
}
putchar('|');
putchar('\n');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 15, 1:17 AM (10 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35084996
Default Alt Text
D53711.diff (455 B)
Attached To
Mode
D53711: ministat: Simplify DumpPlot
Attached
Detach File
Event Timeline
Log In to Comment