136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
-
+
+
+
+
+
+
+
-
+
+
|
void
localservertoclient(uchar *buf, int len)
{
}
void
fatal(OFString *s, OFString *o)
fatal(OFConstantString *s, ...)
{
cleanupserver();
va_list args;
va_start(args, s);
OFString *msg = [[OFString alloc] initWithFormat:s arguments:args];
va_end(args);
[OFStdOut writeFormat:@"servererror: %@\n", s];
[OFStdOut writeFormat:@"servererror: %@\n", msg];
exit(1);
}
void *
alloc(int s)
{
void *b = calloc(1, s);
|