blob: c77a281542cb6e06a7a08c18165e4236c244cd55 [file] [log] [blame]
suhasgrao76e8f8c2017-07-12 16:24:33 +05301*** grpc-c_orig/lib/client.c 2017-07-03 16:52:30.467488835 +0530
2--- grpc-c/lib/client.c 2017-07-12 15:34:28.904950001 +0530
3***************
4*** 134,141 ****
5 }
6
7 bzero(buf, BUFSIZ);
8! snprintf_safe(buf, sizeof(buf), "%s%s", PATH_GRPC_C_DAEMON_SOCK,
9! server_name);
10 if (buf[0] == '\0') {
11 return NULL;
12 }
13--- 134,141 ----
14 }
15
16 bzero(buf, BUFSIZ);
17! /*snprintf_safe(buf, sizeof(buf), "%s%s", PATH_GRPC_C_DAEMON_SOCK, server_name);*/
18! snprintf_safe(buf, sizeof(buf), "%s", server_name);
19 if (buf[0] == '\0') {
20 return NULL;
21 }
22***************
23*** 1039,1049 ****
24--- 1039,1051 ----
25 gpr_timespec tout;
26 grpc_c_context_t *context;
27
28+ #if 0
29 if (context == NULL) {
30 gpr_log(GPR_ERROR, "Invalid context pointer provided");
31 rc = GRPC_C_FAIL;
32 goto cleanup;
33 }
34+ #endif
35
36 context = gc_client_prepare_ops(client, mdarray, 1, input, NULL,
37 client_streaming, server_streaming, NULL,
Rajeswara Raob2e441c2017-09-20 16:40:21 +053038***************
39--- grpc-c_orig/lib/client.c 2017-09-19 21:08:29.506546198 +0530
40+++ grpc-c/lib/client.c 2017-09-19 21:10:52.137702783 +0530
41@@ -967,7 +967,6 @@
42
43 if (*output == NULL) {
44 grpc_c_context_free(context);
45- gpr_log(GPR_ERROR, "No output to return");
46 rc = GRPC_C_FAIL;
47 goto cleanup;
48 }
49