Skip to content

Commit

Permalink
Merge pull request #23 from cableramki/master
Browse files Browse the repository at this point in the history
Fixed build on Mac.
  • Loading branch information
schmidtw authored Mar 2, 2018
2 parents 632b22d + 3c286b7 commit 641a5ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#

PACKAGE="Lib noPoll: a websocket toolkit"
OS=`uname -s`

(automake --version) < /dev/null > /dev/null 2>&1 || {
echo;
Expand All @@ -44,7 +45,11 @@ echo "Generating configuration files for $PACKAGE, please wait...."
echo;

touch NEWS README AUTHORS ChangeLog
if [ "${OS}" = "Darwin" ] ; then
glibtoolize --force;
else
libtoolize --force;
fi
aclocal $ACLOCAL_FLAGS;
autoheader --warnings=error
automake --add-missing -Werror;
Expand Down
4 changes: 2 additions & 2 deletions test/nopoll-regression-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1678,8 +1678,8 @@ nopoll_bool test_17_send_and_receive_test (noPollCtx * ctx, noPollConn * conn, n

/* printf ("Test 17: sending partial content..\n"); */
_socket = nopoll_conn_socket (conn);
buffer[0] = 129;
buffer[1] = 150;
buffer[0] = 126;
buffer[1] = 127;
send (_socket, buffer, 2, 0);

if (read_after_header) {
Expand Down

0 comments on commit 641a5ec

Please sign in to comment.