Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f06db14

Browse files
committed
Remove debug output in state_set().
1 parent d623c23 commit f06db14

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

contrib/raftable/state.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ static void state_clear(StateP state)
3939
void state_set(StateP state, const char *key, const char *value, size_t vallen)
4040
{
4141
Assert(state);
42-
fprintf(stderr, "setting state[%s] = %.*s\n", key, (int)vallen, value);
4342

4443
if (value == NULL)
4544
{
@@ -68,7 +67,6 @@ void state_set(StateP state, const char *key, const char *value, size_t vallen)
6867
}
6968
e->vallen = vallen;
7069
e->value = memcpy(palloc(vallen), value, vallen);
71-
fprintf(stderr, "value set to %.*s\n", (int)e->vallen, e->value);
7270
}
7371
}
7472

0 commit comments

Comments
 (0)