Commit 046cccbe authored by Greg Williams's avatar Greg Williams
Browse files

Fixed release/example build via project.yml.

Reverted to simple shutdown, since all hell broke loose once that was added.
parent 275216e1
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -21,21 +21,22 @@
    - +:test/**
    - -:test/support
    - src/**
    - vendor/protobuf-c/*
  :support:
    - test/support/**
  :source:
    - src/lib/*
    - src/utility/*
    - vendor/protobuf-c/protobuf-c/*
    - vendor/socket99/*
    - vendor/socket99/socket99.c
  :include:
    - include/**
    - vendor/socket99/
    - vendor/protobuf-c/
  # Refactor release build once the Kinetic-C library is built, and link to it sepearately
  :release_toolchain_include:
    - include/**
    - vendor/protobuf-c/*
    - vendor/socket99/*
    - vendor/protobuf-c/
    - vendor/socket99/

:defines:
  # in order to add common defines:
+2 −1
Original line number Diff line number Diff line
@@ -301,7 +301,8 @@ void KineticSocket_Close(int socketDescriptor)
    {
        sprintf(message, "Closing socket with fd=%d", socketDescriptor);
        LOG(message);
        if (KineticSocket_CloseSocket(socketDescriptor))
        // if (KineticSocket_CloseSocket(socketDescriptor))
        if (close(socketDescriptor))
        {
            LOG("Socket closed successfully");
        }
+2 −1
Original line number Diff line number Diff line
@@ -31,7 +31,8 @@

#include "unity.h"
#include "unity_helper.h"
#include <protobuf-c/protobuf-c.h>
#include "protobuf-c/protobuf-c.h"
#include "socket99.h"
#include <string.h>
#include <stdlib.h>