Jan Breuer
2015-04-22 c40ce04acce103186b4a7eceea6d84ea22499c7d
examples/test-tcp-srq/main.c
@@ -44,6 +44,7 @@
#include <sys/ioctl.h>
#include <errno.h>
#include <arpa/inet.h>
#include <unistd.h>
#include "scpi/scpi.h"
#include "../common/scpi-def.h"
@@ -84,7 +85,7 @@
int SCPI_Error(scpi_t * context, int_fast16_t err) {
    (void) context;
    // BEEP
    fprintf(stderr, "**ERROR: %d, \"%s\"\r\n", (int32_t) err, SCPI_ErrorTranslate(err));
    fprintf(stderr, "**ERROR: %d, \"%s\"\r\n", (int16_t) err, SCPI_ErrorTranslate(err));
    return 0;
}