make
make ../bin/circle
make[1]: Entering directory `/home/fubar/Desktop/HackThePlanet/src'
gcc -g -O2 -Wall -c -o comm.o comm.c
comm.c: In function copyover_recover:
comm.c:408:27: warning: d may be used uninitialized in this function
gcc -g -O2 -Wall -c -o protocol.o protocol.c
protocol.c: In function Write:
protocol.c:44:4: warning: format not a string literal and no format arguments
protocol.c: In function ReportBug:
protocol.c:49:4: warning: format not a string literal and no format arguments
protocol.c: In function PerformHandshake:
protocol.c:1316:13: error: COMPRESS_START undeclared (first use in this function)
protocol.c:1316:13: note: each undeclared identifier is reported only once for each function it appears in
protocol.c:1318:13: error: COMPRESS_End undeclared (first use in this function)
make[1]: *** [protocol.o] Error 1
make[1]: Leaving directory `/home/fubar/Desktop/HackThePlanet/src'
make: *** [all] Error 2
t->comp - no
NULL - Yes
comp->stream - no
struct compr - no
d->comp - yes
comp - no
struct compr *comp - no
struct descriptor_data *d;
write_to_descriptor (d->descriptor, "\n\rSorry, we are rebooting. Come back in a few minutes.\n\r");
write_to_descriptor (d->descriptor, buf);
write_to_descriptor (d->descriptor, "\n\rSorry, we are rebooting. Come back in a few minutes.\n\r", d->comp);
write_to_descriptor (d->descriptor, buf, d->comp);
Output of make.
comm.h
act.wizard.c
It says I need another argument to function which i am taking is something like d->scriptor/buf. Is that right?