all: tewi$(EXEC)
tewi$(EXEC): $(OBJS) ../Common/common.a
- $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) ../Common/common.a -lssl -lcrypto
+ $(CC) $(LDFLAGS) -o $@ $(OBJS) -lssl -lcrypto $(LIBS) ../Common/common.a
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<
unsigned int WINAPI tw_server_pass(void* ptr) {
int sock = ((struct pass_entry*)ptr)->sock;
bool ssl = ((struct pass_entry*)ptr)->ssl;
- int port = ((struct pass_entry*)ptR)->port;
+ int port = ((struct pass_entry*)ptr)->port;
free(ptr);
#else
void tw_server_pass(int sock, bool ssl, int port) {