diff --git a/Makefile b/Makefile index 85593de..e0f8422 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION=1.2.0 -CFLAGS+= -g3 -O2 -Wall -Wextra -Wshadow -rdynamic -D_GNU_SOURCE\ +CFLAGS += -O2 -Wall -Wextra -Wshadow -rdynamic -D_GNU_SOURCE\ -D_FILE_OFFSET_BITS=64 -DVERSION=\"$(VERSION)\"\ `pkg-config --cflags-only-I gumbo libcurl fuse uuid expat` LIBS = -pthread -lgumbo -lcurl -lfuse -lcrypto -luuid -lexpat diff --git a/src/sonic.c b/src/sonic.c index 29c522e..10c22ed 100644 --- a/src/sonic.c +++ b/src/sonic.c @@ -139,7 +139,6 @@ static void XMLCALL XML_process_single_element(void *data, const char *elem, int linkname_set = 0; for (int i = 0; attr[i]; i += 2) { - printf("%s: %s\n", attr[i], attr[i+1]); if (!strcmp("id", attr[i])) { link->sonic_id = atoi(attr[i+1]); link->sonic_id_str = calloc(MAX_FILENAME_LEN, sizeof(char));