Subversion Repositories RepoView

Rev

Rev 47 | Rev 49 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 47 Rev 48
Line 1... Line 1...
1
/* $Id: modern.c 47 2024-08-22 05:55:11Z nishi $ */
1
/* $Id: modern.c 48 2024-08-22 05:57:28Z nishi $ */
2
 
2
 
3
#include "rv_query.h"
3
#include "rv_query.h"
4
 
4
 
5
#include "rv_util.h"
5
#include "rv_util.h"
6
#include "rv_version.h"
6
#include "rv_version.h"
Line 794... Line 794...
794
					fread(buf, 1, s.st_size, f);
794
					fread(buf, 1, s.st_size, f);
795
					buf[s.st_size] = 0;
795
					buf[s.st_size] = 0;
796
 
796
 
797
					desc = html_escape_nl_to_br(buf);
797
					desc = html_escape_nl_to_br(buf);
798
 
798
 
799
					char* tmp = rv_strcat3(WWW_AVATAR_ROOT, "/", rv_get_query("username"));
-
 
800
					logopath = rv_strcat(tmp, ".png");
-
 
801
					fprintf(stderr, "%s\n", logopath);
-
 
802
					free(tmp);
-
 
803
 
-
 
804
					fclose(f);
799
					fclose(f);
805
				}
800
				}
-
 
801
 
-
 
802
				char* tmp = rv_strcat3(WWW_AVATAR_ROOT, "/", rv_get_query("username"));
-
 
803
				logopath = rv_strcat(tmp, ".png");
-
 
804
				free(tmp);
-
 
805
 
806
				free(path);
806
				free(path);
807
			} else {
807
			} else {
808
				add_data(&page, "User does not exist.\n");
808
				add_data(&page, "User does not exist.\n");
809
			}
809
			}
810
		}
810
		}