blob: 7de4dd1d2a75f98afe0206c11a92650cb7baa2c6 [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,