blob: d1e07c7b4ee88bd23a1ecfe888da6c46c4cca510 [file] [log] [blame]
Kim Kempf531d52d2017-10-02 17:10:54 -07001diff -Naur grpc-c_comperr/lib/client.c grpc-c/lib/client.c
2--- grpc-c_comperr/lib/client.c 2017-10-01 15:04:38.028008999 -0700
3+++ grpc-c/lib/client.c 2017-10-01 15:41:38.928008999 -0700
4@@ -134,8 +134,8 @@
5 }
6
7 bzero(buf, BUFSIZ);
8- snprintf_safe(buf, sizeof(buf), "%s%s", PATH_GRPC_C_DAEMON_SOCK,
9- server_name);
10+ /*snprintf_safe(buf, sizeof(buf), "%s%s", PATH_GRPC_C_DAEMON_SOCK, server_name);*/
11+ snprintf_safe(buf, sizeof(buf), "%s", server_name);
12 if (buf[0] == '\0') {
13 return NULL;
14 }
15@@ -967,7 +967,6 @@
16
17 if (*output == NULL) {
18 grpc_c_context_free(context);
19- gpr_log(GPR_ERROR, "No output to return");
20 rc = GRPC_C_FAIL;
21 goto cleanup;
22 }
23@@ -1039,11 +1038,13 @@
24 gpr_timespec tout;
25 grpc_c_context_t *context;
26
27+#if 0
28 if (context == NULL) {
29 gpr_log(GPR_ERROR, "Invalid context pointer provided");
30 rc = GRPC_C_FAIL;
31 goto cleanup;
32 }
33+#endif
34
35 context = gc_client_prepare_ops(client, mdarray, 1, input, NULL,
36 client_streaming, server_streaming, NULL,
37diff -Naur grpc-c_comperr/lib/service.c grpc-c/lib/service.c
38--- grpc-c_comperr/lib/service.c 2017-10-01 14:54:11.676008999 -0700
39+++ grpc-c/lib/service.c 2017-10-01 15:41:09.768008999 -0700
40@@ -1224,7 +1224,8 @@
41 return NULL;
42 }
43
44- snprintf_safe(buf, sizeof(buf), "%s%s", PATH_GRPC_C_DAEMON_SOCK, name);
45+ /*snprintf_safe(buf, sizeof(buf), "%s%s", PATH_GRPC_C_DAEMON_SOCK, name);*/
46+ snprintf_safe(buf, sizeof(buf), "%s", name);
47
48 if (buf[0] == '\0') {
49 return NULL;