Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
haad committed Dec 29, 2023
1 parent bc653b6 commit 80dc652
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/buildci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ jobs:
run: ./proxychains4 -v

- name: Run tests
run: ./src/proxychains -f dist/proxychains.conf curl -o /dev/null -v https://sme.sk
run: ./src/proxychains -f dist/proxychains.conf on

- name: Run tests
run: ./src/proxychains -f dist/proxychains.conf ping -c 1 sme.sk
# - name: Run tests
# run: ./src/proxychains -f dist/proxychains.conf curl -o /dev/null -v https://sme.sk

# - name: Run tests
# run: ./src/proxychains -f dist/proxychains.conf ping -c 1 sme.sk
build-macos:
runs-on: macos-latest
steps:
Expand All @@ -41,9 +44,12 @@ jobs:
run: ./proxychains4 -v

- name: Run tests
run: ./src/proxychains -f dist/proxychains.conf curl -o /dev/null -v https://sme.sk
run: ./src/proxychains -f dist/proxychains.conf on

- name: Run tests
run: ./src/proxychains -f dist/proxychains.conf ping -t 1 sme.sk
# - name: Run tests
# run: ./src/proxychains -f dist/proxychains.conf curl -o /dev/null -v https://sme.sk

# - name: Run tests
# run: ./src/proxychains -f dist/proxychains.conf ping -t 1 sme.sk


5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@ CFLAGS_MAIN=-DLIB_DIR=\"$(libdir)\" -DINSTALL_PREFIX=\"$(prefix)\" -DDLL_NAME=\"

UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
LDSO_SUFFIX = so
LDSO_PATHNAME = libproxychains.$(LDSO_SUFFIX)
LDSO_SUFFIX = so.4
endif
ifeq ($(UNAME_S),Darwin)
LDSO_PATHNAME = libproxychains4.$(LDSO_SUFFIX)
LDSO_SUFFIX = dylib
endif
LDSO_PATHNAME = libproxychains4.$(LDSO_SUFFIX)


all: $(ALL_LIBS) $(ALL_TOOLS)
Expand Down
2 changes: 1 addition & 1 deletion src/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ char *get_config_path(char* default_path, char* pbuf, size_t bufsize) {
return path;

err:
perror("couldnt find configuration file");
perror("couldn't find configuration file");
exit(1);
}

0 comments on commit 80dc652

Please sign in to comment.