File: fixname.c

package info (click to toggle)
tlswrapper 0~20241101-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,796 kB
  • sloc: ansic: 7,099; sh: 2,342; makefile: 234
file content (13 lines) | stat: -rw-r--r-- 180 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "fixname.h"

void fixname(char *x) {

    long long i;

    for (i = 0; x[i];   i) {
        if (x[i] == '@') {
            x[i] = 0;
            break;
        }
    }
}