blob: c77a281542cb6e06a7a08c18165e4236c244cd55 [file] [log] [blame]
*** grpc-c_orig/lib/client.c 2017-07-03 16:52:30.467488835 +0530
--- grpc-c/lib/client.c 2017-07-12 15:34:28.904950001 +0530
***************
*** 134,141 ****
}
bzero(buf, BUFSIZ);
! snprintf_safe(buf, sizeof(buf), "%s%s", PATH_GRPC_C_DAEMON_SOCK,
! server_name);
if (buf[0] == '\0') {
return NULL;
}
--- 134,141 ----
}
bzero(buf, BUFSIZ);
! /*snprintf_safe(buf, sizeof(buf), "%s%s", PATH_GRPC_C_DAEMON_SOCK, server_name);*/
! snprintf_safe(buf, sizeof(buf), "%s", server_name);
if (buf[0] == '\0') {
return NULL;
}
***************
*** 1039,1049 ****
--- 1039,1051 ----
gpr_timespec tout;
grpc_c_context_t *context;
+ #if 0
if (context == NULL) {
gpr_log(GPR_ERROR, "Invalid context pointer provided");
rc = GRPC_C_FAIL;
goto cleanup;
}
+ #endif
context = gc_client_prepare_ops(client, mdarray, 1, input, NULL,
client_streaming, server_streaming, NULL,
***************
--- grpc-c_orig/lib/client.c 2017-09-19 21:08:29.506546198 +0530
+++ grpc-c/lib/client.c 2017-09-19 21:10:52.137702783 +0530
@@ -967,7 +967,6 @@
if (*output == NULL) {
grpc_c_context_free(context);
- gpr_log(GPR_ERROR, "No output to return");
rc = GRPC_C_FAIL;
goto cleanup;
}