Skip to content

Commit 87d77d8

Browse files
committed
Remove old s->path debug
1 parent 4f8d516 commit 87d77d8

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed

client/wac.c

-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ main(int argc, char *argv[])
8282

8383
wa = wa_init(cb, config_dir);
8484

85-
printf("s->path %s\n", wa->s->path);
86-
8785
wa_login(wa);
8886

8987
/* Wait until we receive the contact list */

libwa/session.c

-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ session_restore(wa_t *wa)
123123
{
124124
json_object *root, *v;
125125

126-
printf("s->path %s\n", wa->s->path);
127-
128126
if(storage_read(wa->s, SESSION_KEY, &root))
129127
{
130128
return -1;

libwa/storage.c

-4
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ wa_storage_init(const char *path)
6767
s = malloc(sizeof(store_t));
6868
s->path = strdup(path);
6969

70-
LOG_INFO("s->path is now %s\n", s->path);
71-
7270
return s;
7371
}
7472

@@ -85,8 +83,6 @@ storage_read(store_t *s, const char *key, json_object **obj)
8583
char *path;
8684
json_object *root;
8785

88-
LOG_INFO("path = %s\n", s->path);
89-
9086
path = path_from_key(s, key);
9187
root = json_object_from_file(path);
9288

libwa/wa.c

-2
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ wa_login(wa_t *wa)
168168
{
169169
int restore_failed;
170170

171-
printf("s->path %s\n", wa->s->path);
172-
173171
restore_failed = (session_restore(wa) != 0);
174172

175173
if(restore_failed)

0 commit comments

Comments
 (0)